Title: API returns &quot;null&quot; for /users
Last modified: August 21, 2016

---

# API returns "null" for /users

 *  Resolved [jack-kerouac](https://wordpress.org/support/users/jack-kerouac/)
 * (@jack-kerouac)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/api-returns-null-for-users/)
 * Hi,
 * when issuing a simple GET to `/users` the API just returns the string `null`.
   Same thing happens when I try to create a new category by POSTing JSON to `/posts/
   types/post/taxonomies/category/terms`.
 * What do I do wrong? Maybe wrong authentication? The API should probably respond
   with a meaningful error.
 * Thanks for your work!
 * Florian
 * [http://wordpress.org/plugins/json-rest-api/](http://wordpress.org/plugins/json-rest-api/)

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

 *  Thread Starter [jack-kerouac](https://wordpress.org/support/users/jack-kerouac/)
 * (@jack-kerouac)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/api-returns-null-for-users/#post-4404668)
 * Still occurs with the JSONT-REST-API 0.8 and WordPress 3.8. I should also mention
   that I configured the WordPress installation to host multiple sites.
 *  [Compute](https://wordpress.org/support/users/compute/)
 * (@compute)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/api-returns-null-for-users/#post-4404716)
 * Check this:
    `https://github.com/WP-API/WP-API/blob/master/lib/class-wp-json-
   server.php#L260`
 * `array( '__return_null', self::READABLE )`
    Means that they’ve not started on
   it yet. As we have not a 1.0 not every part of the API has been worked on yet.
 *  Thread Starter [jack-kerouac](https://wordpress.org/support/users/jack-kerouac/)
 * (@jack-kerouac)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/api-returns-null-for-users/#post-4404756)
 * Thanks for the response.
    I did not expect the API to return the string “null”
   for unimplemented parts, but maybe something like “not implemented”. Thus, I 
   did not look up the source code.

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

The topic ‘API returns "null" for /users’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [jack-kerouac](https://wordpress.org/support/users/jack-kerouac/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/api-returns-null-for-users/#post-4404756)
 * Status: resolved