Re: API Calls Time Out

API Calls Time Out

ryeh
Visitor
2 0 0

We are integrating Shopify with a new platform and now the import is having time out issues. We would like to know about the current state of your REST API. Is it overloaded? Is there a performance issue?

We are fetching orders in batches of 250. Some work, some fail. Those that failed are retried. On retry, requests are also failing in some cases.

Replies 2 (2)

MarStar99
Shopify Partner
8 2 6

Are you getting any specific error code? I know you can only do 40 request a min. at 2 per second.

 

https://shopify.dev/api/admin-rest#rate_limits

 

ryeh
Visitor
2 0 0
We did not get any specific errors in the log file. But the thing is that if the request is not fulfilled within 5seconds, we cancel it. Until now, this limit was completely sufficient, so even if some requests did not pass first time, they passed second or third time. 
Now it seems that this 5seconds limit is not enough for Shopify API to fulfill our requests. At least with the orders. One request asks for batch of 250 orders to return. We are already trying to increase limit on our side, but it would help to understand what changed on Shopify end. Did you change something? Is it performance issue or something else?