Zendesk API error handling | Community
Skip to main content

Zendesk API error handling

  • January 23, 2021
  • 5 replies
  • 0 views

Is there any error handling for outbound Rest Messages? I would like to know if there are any best practices. Currently I don't see anyway to handle the http response status codes. Any advice or guidance is appreciated.

5 replies

Greg29
  • January 25, 2021

Hi there! Could you be a bit more specific about this request? All of our APIs will return an HTTP response code...is there something more in-depth that you're looking for? 


  • February 9, 2021

Possibly related to eleanmats78's question - I'm receiving a 422 response when trying to create a request for a user. This is the only documentation I can find on response statuses - it's not very helpful. 
I need to know what is unprocessable. This should be included in the response IMO. 


Greg29
  • February 23, 2021

Hi Nathan! Could you share your payload here so that I can help you determine what may be the cause of the issue? 


  • July 26, 2022

Hi there, 

Does the Zendesk Support API have official documentation for errors? I'm especially interested in response body for 422 error code. Sell CRM seems to have this in the docs https://developer.zendesk.com/api-reference/sales-crm/errors/


Oli
  • October 21, 2022

I came here looking for the same thing that @bartosz12 has asked about.

Edit to add: Found what I was looking for here: https://developer.zendesk.com/api-reference/introduction/requests/#status-codes. They're referred to as "status codes" rather than "errors".