Title: 403 error when saving a form
Last modified: July 26, 2022

---

# 403 error when saving a form

 *  Resolved [Chris Whitford](https://wordpress.org/support/users/fcwhitford/)
 * (@fcwhitford)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/403-error-when-saving-a-form/)
 * I’m building a new website on localhost, clean install of WP 6.0.1, Blocksy theme,
   latest CF7 (5.6.1). When I create my first contact form and click on ‘Save’ I
   get a 403 error. I have another working site, also on localhost (and on a live
   server) with the same theme, WP and CF7 all updated, where I can save a new form
   with no problem. The URL giving the error is
 * [http://…/wordpress/wp-admin/admin.php?page=wpcf7&post=-1](http://…/wordpress/wp-admin/admin.php?page=wpcf7&post=-1)
 * I notice a similar problem was posted 8 months ago and not resolved.
 * I’ve reverted to an earlier version of CF7 (5.1.4) which gives the same error.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Chris Whitford](https://wordpress.org/support/users/fcwhitford/)
 * (@fcwhitford)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/403-error-when-saving-a-form/#post-15861697)
 * Solved! In setting up the new website I had copied wp-config.php from another
   site, in which the constant WPCF7_ADMIN_READ_CAPABILITY had been redefined for
   reasons particular to that site.

Viewing 1 replies (of 1 total)

The topic ‘403 error when saving a form’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [403 error](https://wordpress.org/support/topic-tag/403-error/)

 * 1 reply
 * 1 participant
 * Last reply from: [Chris Whitford](https://wordpress.org/support/users/fcwhitford/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/403-error-when-saving-a-form/#post-15861697)
 * Status: resolved