WordPress wp-json API returns 404 Error while editing page

Description:

WordPress wp-json API returns 404 Error while editing page

Here’s the server response:

{"code":"rest_no_route","message":"Es wurde keine Route gefunden, die mit der URL und der Request-Methode identisch ist.","data":{"status":404}}

Step-by-step reproduction instructions:

  1. Open the Post Editor/Site Editor while Browser JS console is visible
  • Screenshot*

Environment info

  • WordPress version: 6.01
  • Gutenberg Plugin version: -
  • Cwicly Plugin version: 1.1.9.3
  • Cwicly Theme version: 1.0.3

Hey @michelyweb,

Sorry to hear you’re receiving this error. Is it affecting your backend in some way?
Can you try deactivating the Cwicly plugin and tell me if the error disappears?

Could not see any problem in backend just the errors in console. But as soon cwicly plugin is disabled, the error was gone.

I’ve moved the site from Cloudflare to BunnyCDN yesterday. Can not see the error anymore.
Not sure if it’s a coincidence but the error is gone.

Hey @michelyweb,

I can reproduce this on my side so it is something to be looked at, but will not affect backend editing.
Thank you for the details.