0

I'm using the built-in Backbone Client whenever I try to make a request it gives me this error: {"code":"rest_cookie_invalid_nonce","message":"Cookie nonce is invalid","data":{"status":403}}

I read the Rest API Handbook - Authentication, and from what I've learned I don't need to do any manual setting.

Plugins in use:

  • Askimet Anti-spam
  • WP Fastest Cache
  • iThemes
  • WP Bannerize
  • Yoast

Side note: I'm using the client for for lazyloading and search.

  • What kind of API request are you trying? – maheshwaghmare Jun 18 '18 at 7:19
  • Only GET requests of Posts collections. As I've said, just for lazyloading and search results. – Rick Stanley Jun 18 '18 at 18:42
0

I delete wpApiSettings.nonce at the top of my app.js, perhaps not an ideal solution but it works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.