WordPress is creating nonce as a logged in user but verifying it incorrectly
This is happening because a separate nonce with the action wp_rest is not being sent by the server to the client and received back from the client in an HTTP request header called X-WP-Nonce with every REST request. To get this working, you will have to generate a nonce like this: wp_create_nonce(‘wp_rest’) …and provide it … Read more