Title: Invalid JSON  ( Woocommerce API )
Last modified: September 1, 2016

---

# Invalid JSON ( Woocommerce API )

 *  [redoxate](https://wordpress.org/support/users/redoxate/)
 * (@redoxate)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/invalid-json-woocommerce-api/)
 * Hi,
    I’m using the Woocommerce API for like a week now, and it’s working fine,
   except the fact that sometimes this error is displayed: “Invalid JSON returned
   for [https://php2-indepth.rhcloud.com/wc-api/v2/orders?&#8230](https://php2-indepth.rhcloud.com/wc-api/v2/orders?&#8230);.”
   I’m using PHP Client Library: [https://github.com/kloon/WooCommerce-REST-API-Client-Library](https://github.com/kloon/WooCommerce-REST-API-Client-Library)
 * Any way to make this error never appear?
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 1 replies (of 1 total)

 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [9 years, 10 months ago](https://wordpress.org/support/topic/invalid-json-woocommerce-api/#post-7608634)
 * Try to find out what is invalidating the json. Are there maybe some PHP error
   notices slipping through? It could be another extension causing a conflict as
   well.

Viewing 1 replies (of 1 total)

The topic ‘Invalid JSON ( Woocommerce API )’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [json](https://wordpress.org/support/topic-tag/json/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * 1 reply
 * 2 participants
 * Last reply from: [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/invalid-json-woocommerce-api/#post-7608634)
 * Status: not resolved