Zendesk Search API returns 502 interminently | Community
Skip to main content

Zendesk Search API returns 502 interminently

  • October 12, 2022
  • 1 reply
  • 0 views

Hello ! We're using the Zendesk search API, searching for tickets. We have 2 flows. One of them is listening to newly created tickets and the other one is listening for updated tickets. When we have both flows deployed in one Mule application. After couple of days of sending requests, in one of the flows Zendesk returns 502 Bad Gateway. The request is correct as it's the same request on which Zendesk responded successfully in the previous request. When we split these 2 flows to 2 Mule applications, this issue doesn't occur. Is there some kind of throttling applied? Or what can be the other reason of such behaviour? Thanks

1 reply

Nara
  • December 14, 2022
Hi Patrik - thanks for the question. There are a number of reasons why a Search might hit a 502, though by itself the error doesn't indicate enough to say what might be happening on the Zendesk side. If you're still experiencing this intermittent error, I would recommend opening a ticket with our support team who can then take a deeper look into what might be going on with those API calls.