API call for enterprise returns 503 error

Highlighted
New Contributor

API call for enterprise returns 503 error

I use the following to get API call for our enterprise.
https://api.box.com/2.0/events
 
 
503 response json is the following.
{"type": "error", "status": 503, "code": "service_unavailable", "help_url": "http://developers.box.com/docs/#errors", "message": "Service Unavailable", "request_id": "13cba857cea46336418315c0aa8e2b484"}
 
I checked the following URL and found nothing wrong. Why it returns 503?
https://status.box.com/
2 REPLIES 2
Box Employee

Re: API call for enterprise returns 503 error

Hi @tsukegawa  - 503 errors should be rare but not unexpected. In the event of a 500 or 503 error you should retry your request using an exponential backoff strategy. If you are using a Box SDK, I believe it already handles the backoff and retry for you.

 

Are you seeing this error frequently? If so, please log a support case with Product Support

 

Highlighted
New Contributor

Re: API call for enterprise returns 503 error

thank you for your answer.

It does not occur frequently. Therefore, API retries will be used.