Programmatic saves via the REST API fail

After updating Pro to the latest release, the REST API save endpoint at /wp-json/themeco/data/save returns ‘No handler registered’ for document type requests.

Saving through the Cornerstone editor UI works fine, but programmatic saves via the REST API fail.

This broke between 6.7.x and 6.8.1, most likely this update in 6.8.0: ‘Preview based settings code moved out of preview to App’

Can this be fixed in the next release or can you advise on a work around?

That changelog item doesn’t have to do with the REST API. We also didn’t change that REST API in 6.8. I would double check you are sending the right doc type. To be frank that is really an internal REST endpoint, what exactly are you doing?

That helped me figure out the issue. I was missing ‘?_locale=user’ at end of save url.

Thank you for the help.

You are most welcome, @jnlinn.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.