API POST method call return 503 when live | Community
Skip to main content

API POST method call return 503 when live

  • December 31, 2024
  • 1 reply
  • 0 views

Konrad12

Hi, In my app I make a call to long running service (approx. 40sec). I set my request timeout to 60sec or even 90 sec. and I keep getting 503 when app is running live. When tested locally it works 100% of time. When live I can see the call is executed but after about 40 sec it returns 503 (backend service returns 200). When the same service returns faster the everything works ok. How to setup my app to respect timeout of say 60 or 90sec when running live? Perhaps there is another way of handling long-running tasks in ZenDesk apps? 

1 reply

  • January 28, 2025
Hi Konrad, 
 
Unfortunately, if this is a secure request being made another over a 30 second timeout isn't supported. You'll probably want to determine a way to break up requests of this size to optimize the response time.