Title: Posting, returned errors error
Last modified: August 21, 2016

---

# Posting, returned errors error

 *  Resolved [aryanduntley](https://wordpress.org/support/users/dunar21/)
 * (@dunar21)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/posting-returned-errors-error/)
 * When attempting to create a post, if the user has not been authenticated, the
   errors are not displayed. Instead, in class-wp-json-posts, method newPost on 
   line 209, if the returned value is not a string or integer, “instance of IXR_Error
   is bypassed and is sending the 500 instead. I should be getting the 400 error
   on line 720 of same file, but am instead getting the 500 in the last else of 
   newPost on 209. Please check the instance of comparison.
 * [http://wordpress.org/plugins/json-rest-api/](http://wordpress.org/plugins/json-rest-api/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Ryan McCue](https://wordpress.org/support/users/rmccue/)
 * (@rmccue)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/posting-returned-errors-error/#post-4501677)
 * This should be fixed as of [#50](https://github.com/WP-API/WP-API/issues/50).
   Can you confirm please? 🙂
 *  Thread Starter [aryanduntley](https://wordpress.org/support/users/dunar21/)
 * (@dunar21)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/posting-returned-errors-error/#post-4501678)
 * I have received no update notification via WP and the version remains 0.8 on 
   the wp plugins page. Should I download again and replace manually (have you made
   the changes without and updated version #)? I’ll download again and compare the
   files. (downloaded from github and see changes.) I’ve got to take care when swapping
   files in order to catch any conflicts with my api extensions that are already
   in place, and I’m currently vacationing in Thailand, so I’ll get back to you 
   when I can.
 *  Plugin Author [Ryan McCue](https://wordpress.org/support/users/rmccue/)
 * (@rmccue)
 * [12 years ago](https://wordpress.org/support/topic/posting-returned-errors-error/#post-4501693)
 * Version 0.9 has now been released; if you upgrade, you should see this now fixed.
   🙂
 *  Thread Starter [aryanduntley](https://wordpress.org/support/users/dunar21/)
 * (@dunar21)
 * [12 years ago](https://wordpress.org/support/topic/posting-returned-errors-error/#post-4501694)
 * I did the upgrade when it came out. Internet is intermittent for me over here,
   and I have set aside work on the api (I’m interfacing a site with a mobile app)
   for later. I have no doubt that you fixed this, but just for confirmation, when
   I get back to it, I will test and report on this thread. Thanks for the work 
   and this plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Posting, returned errors 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [aryanduntley](https://wordpress.org/support/users/dunar21/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/posting-returned-errors-error/#post-4501694)
 * Status: resolved