Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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 7

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?