The default timeout period for apple interface requests

App Store Connect API, What is the default timeout for a request

Hey @limengke,

I have not yet run into a "timeout" on the server side, nor do I recall seeing a timeout header provided by the API for any of the endpoints (maybe there is on some of them?). I make hundreds if not thousands of requests to the App Store Connect API every day and I have not run into an issue with the server failing to return data in a timely manner.

I would personally set a timeout on the client side to something that is reasonable for what you are trying to accomplish and have a failure or fallback loop. For the API requests that I make to Apple I have my timeout set at 10 seconds and a retry of 5. I have never encountered an experience where if the first 3 requests failed the 4th or 5th worked. Usually there is something broken with the App Store Connect API service and it needs to be investigated.

Hopefully this helps!

The default timeout period for apple interface requests
 
 
Q