Title: REST API &#8211; empty array &#8211; /wp-json/wpas-api/v1/tickets
Last modified: January 3, 2019

---

# REST API – empty array – /wp-json/wpas-api/v1/tickets

 *  Resolved [waldirjunior](https://wordpress.org/support/users/waldirjunior/)
 * (@waldirjunior)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/rest-api-empty-array-wp-json-wpas-api-v1-tickets/)
 * Need help!
 * I’m trying to make request / wp-json / wpas-api / v1 / tickets
    But it always
   comes empty array.
 * What do I do?
    / wpas-api / v1 / ticket-tag works
 * ![](https://i0.wp.com/i.imgur.com/YiU671r.png?ssl=1)

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

 *  Plugin Author [melliesou](https://wordpress.org/support/users/melliesou/)
 * (@melliesou)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/rest-api-empty-array-wp-json-wpas-api-v1-tickets/#post-11052175)
 * Hi [@waldirjunior](https://wordpress.org/support/users/waldirjunior/),
 * Thanks for detailing this issue. It looks like you have called the API with the
   incorrect password – that empty set happens on an authentication error. Ensure
   that you are using the correct authentication (username/password) for the API
   call and it will work ok.
 *  Thread Starter [waldirjunior](https://wordpress.org/support/users/waldirjunior/)
 * (@waldirjunior)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/rest-api-empty-array-wp-json-wpas-api-v1-tickets/#post-11052563)
 * I searched for the user registered in the system, he is with a maximum permission
   in wordpress (Administrator).
 * I tested it again, I’m using basic authentication as per the documentation.
 * Am I doing something wrong?
 * ![](https://i0.wp.com/i.imgur.com/JmvS1g4.png?ssl=1)
 *  Thread Starter [waldirjunior](https://wordpress.org/support/users/waldirjunior/)
 * (@waldirjunior)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/rest-api-empty-array-wp-json-wpas-api-v1-tickets/#post-11052618)
 * I was able to solve
    Thanks!
 *  Plugin Author [melliesou](https://wordpress.org/support/users/melliesou/)
 * (@melliesou)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/rest-api-empty-array-wp-json-wpas-api-v1-tickets/#post-11053845)
 * Glad that you solved it. Did you solve this one by verifying (re-typing) the 
   password credentials?

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

The topic ‘REST API – empty array – /wp-json/wpas-api/v1/tickets’ is closed to new
replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [melliesou](https://wordpress.org/support/users/melliesou/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/rest-api-empty-array-wp-json-wpas-api-v1-tickets/#post-11053845)
 * Status: resolved