Title: WP API backbone client 403 error
Last modified: August 4, 2017

---

# WP API backbone client 403 error

 *  [stephenfmonkey](https://wordpress.org/support/users/stephenfmonkey/)
 * (@stephenfmonkey)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/wp-api-backbone-client-403-error/)
 * Using the WP API backbone client in admin and I keep running into an error that
   I can track down. On initial load of a post I run this simple code
 *     ```
       export const posts = ( postID ) => {
         const post = new wp.api.models.Post(
           {
             id: postID
           }
         );
         return post.fetch().done(function (res) {
           return res;
         });
       };
       ```
   
 * which seems to fetch the schema from `/wp/v2/`
 * I can hit that route just fine and get back the proper API response, but for 
   some reason, the client where I am attempting to load my post obj, I get back
   a 403 with json response of `{"code":"rest_cookie_invalid_nonce","message":"Cookie
   nonce is invalid","data":{"status":403}}`
 * Any ideas on how to fix?

The topic ‘WP API backbone client 403 error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-rest-api_2e3641.svg)
 * [WP REST API (WP API)](https://wordpress.org/plugins/json-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-rest-api/reviews/)

## Tags

 * [backbone](https://wordpress.org/support/topic-tag/backbone/)
 * [restapi](https://wordpress.org/support/topic-tag/restapi/)

 * 0 replies
 * 1 participant
 * Last reply from: [stephenfmonkey](https://wordpress.org/support/users/stephenfmonkey/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/wp-api-backbone-client-403-error/)
 * Status: not resolved