Recent searches


No recent searches

Zendesk API error handling



Posted Jan 23, 2021

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.


0

5

5 comments

image avatar

Greg Katechis

Zendesk Developer Advocacy

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? 

0


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. 

0


image avatar

Greg Katechis

Zendesk Developer Advocacy

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

0


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/

1


I came here looking for the same thing that @... 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".

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post