A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
We're having an issue with post new products API calls. We're always getting 429 error message, our code takes into account rate limits, also we have more than 50000 variants in our shop, and we know about 1000 new variants / 24 hours, and we trying to shutdown every product activities and try post after 24 hours but always getting the same error.
please notice that the the sync of existence products and variants and update it (PUT requests) is working as usual, but the error appeared in POST requests..
Thanks
Since you have over 50,000 total products, and you've said you understand the 1000 a day rule, does the 429 error message happen on the first post after 24 hours or after 1000 as intended?
Check this answer for additional information. You may need to upgrade your plan based on your traffick: https://community.shopify.com/c/shopify-apis-and-sdks/response-code-429-too-many-requests-even-if-im...
Additional info on rate limiting: https://shopify.dev/api/usage/rate-limits#resource-based-rate-limits
Thanks @SuperRAD for your response, We have more than 50000 variants for about 18k products.
And I know about the 1000 variants per day limitation. but I wait more than 24 hours before posting any thing but the API result still return 429 error.
Hey @tanakhleh - thanks for reaching out. A 429 error usually means that your app/API calls are sending too many requests as @SuperRAD , but given that you're accounting for this already, it's possible that there could be something else that's resulting in the error being surfaced.
Could you share the most recent X-Request-ID you would have received in the response header received from us for one of the calls where you're seeing a 429 error message? I can pull the logs on our end and see if I can provide some extra context into what may be happening here.
Hope to hear from you soon - thanks again!
Alan | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog