Zendesk API error handling
Publicado 23 ene 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 comentarios
Oli
I came here looking for the same thing that Bartosz Kunat 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
Bartosz Kunat
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
Greg Katechis
Hi Nathan! Could you share your payload here so that I can help you determine what may be the cause of the issue?
0
Nathan Purcell
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
Greg Katechis
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
Iniciar sesión para dejar un comentario.