Error in listing users or tickets | Community
Skip to main content

Error in listing users or tickets

  • October 22, 2021
  • 3 replies
  • 0 views

Shubhankar

Whenever I am trying to list user's tickets, they are not listing there, and when I am trying to print the response it is effective site, can you please help me I tried changing the URL and tried many things, and every time I want to see the response it is taking my site down but I am getting 200 status code as you can in code I inserted a string in if condition 'success', which means if the response is 200 then it will print 'success', so success is printing which means we're getting status code of 200 but then also the response is not fetching

3 replies

Sabra
  • October 26, 2021

Hey Shunhankar! Do you have an example of how you are trying to list user's tickets? Are you using our APIs in order to generate a list? If so, which APIs are you using?


Shubhankar
  • Author
  • October 28, 2021

Yes, I am using API:
/api/v2/users/search.json?query=' . $email, this is for fetching users from Zendesk

/api/v2/users/' . $user_id . '/tickets/requested.json, this is for fetching tickets from Zendesk


  • November 1, 2021
Hi Shubhankar, I have created a ticket to follow up with you regarding this question. Please, check your inbox and feel free to get back to me by just replying to my email. Thanks!