Title: Getting invalid rest_invalid_param while saving the form
Last modified: August 5, 2020

---

# Getting invalid rest_invalid_param while saving the form

 *  [Salih K](https://wordpress.org/support/users/salihkulangara/)
 * (@salihkulangara)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/getting-invalid-rest_invalid_param-while-saving-the-form/)
 * After updating to latest version, I had to update email recipients, after that
   when I tried to save the form I am not getting “Updated Successfully” message,
   it will show ‘saving…’ after few seconds back to ‘save form’. when I checked 
   the console I see the following error `{code: “rest_invalid_param”, message: “
   Invalid parameter(s): cf_edit_nonce”, data: {…}}’
    please see the screenshot:
   [https://snipboard.io/9BFUGz.jpg](https://snipboard.io/9BFUGz.jpg)
 * I have tried to clear the caches and all, still the issue persists, any idea.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [woutertz](https://wordpress.org/support/users/woutertz/)
 * (@woutertz)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/getting-invalid-rest_invalid_param-while-saving-the-form/#post-13654429)
 * Same issue, did you find a solution?
 *  [unapersona](https://wordpress.org/support/users/unapersona/)
 * (@unapersona)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/getting-invalid-rest_invalid_param-while-saving-the-form/#post-13731319)
 * Hello,
    I’ve just encountered the same problem, for me the issue was in the type
   casting of the `cf_edit_nonce` variable: The route expect a string and the variable
   was a number.
 * I made it work by modifying `caldera-forms/classes/api/forms.php` to allow string
   and integer types:
 * > [flameshot_screenshot](https://imgur.com/XCkz1yX)
 *     ```
       34 - 'type' => 'string',
       34 + 'type' => array('string', 'integer'),
       ```
   
    -  This reply was modified 5 years, 6 months ago by [unapersona](https://wordpress.org/support/users/unapersona/).
      Reason: whitespace edit
 *  [latindigitalboy](https://wordpress.org/support/users/latindigitalboy/)
 * (@latindigitalboy)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/getting-invalid-rest_invalid_param-while-saving-the-form/#post-14362849)
 * thank you guys this worked for me, suddenly stopped working :@

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Getting invalid rest_invalid_param while saving the form’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

## Tags

 * [CalderaForms](https://wordpress.org/support/topic-tag/calderaforms/)

 * 3 replies
 * 4 participants
 * Last reply from: [latindigitalboy](https://wordpress.org/support/users/latindigitalboy/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/getting-invalid-rest_invalid_param-while-saving-the-form/#post-14362849)
 * Status: not resolved