A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I am currently using the REST API version 2020-01 on a dev (affiliate) store.
I can perform REST API requests very slowly, such as 1 request every 5 to 10 seconds, and will get the following error:
HTTP Status: 429 (Too Many Requests)
X-Shopify-Shop-Api-Call-Limit: 1/40
Retry-After:
Exceeded 0 calls per second for api client. Reduce request rates to resume uninterrupted service.
List of issues:
Order-Specific Behavior:
Is this an issue with the Shopify API or is there a limit on dev stores (affiliate) that I am not aware of?
Solved! Go to the solution
This is an accepted solution.
Hey @DanAtBonify
Thanks for the IDs. It looks like Development stores are limited to 5 order mutations per minute. This used to be in our docs but I can't find reference to it - chasing this up.
The response message is confusing too, I'll raise this internally.
Thanks for flagging!
Scott | Developer Advocate @ Shopify
Hi @DanAtBonify ,
What's your development stack? Even if the Retry-After is empty the header is still there, why can't you try/catch that and resume where you left off?
Regards,
Sam Bazargan - Owner
Hi @Anonymous,
The primary issue, unfortunately, is that the 429 error is happening way too soon... I'm expecting my bucket to accept up to 40 requests, and trickle out, however I can perform just a few requests very slowly and run into this issue, so I'm not sure what's causing it. When I do hit the issue, and wait 10 seconds and try again, I can hit the same issue again (shouldn't be possible given the leaky bucket).
And it's only happening on "orders" for me, which makes the problem even stranger.
Regards,
Dan
Then you're sending out requests in bursts. I can't see your code so this is speculation, but there's no limit in a Dev shop for REST API so you're having an internal issue with your app. I would look for web server logs since sometimes we think our code is doing something but it's actually not.
Regards,
Sam Bazargan - Owner
Weird. Thanks for reporting @DanAtBonify. DMing for details.
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Hey @DanAtBonify
Thanks for the IDs. It looks like Development stores are limited to 5 order mutations per minute. This used to be in our docs but I can't find reference to it - chasing this up.
The response message is confusing too, I'll raise this internally.
Thanks for flagging!
Scott | Developer Advocate @ Shopify
Any news here? I'm having the same issue even after hours of receiving the last 429 error, when trying to duplicate a product and I just get another 429. It's not even a dev store. Please help, thanks.
Best advice would be to list one of the request ID's coming back in the 429 response headers. That way a Shopify staffer can look into it to provide some feedback.