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.

Calling product Post API always return 429 error

Calling product Post API always return 429 error

tanakhleh
Shopify Partner
2 0 0

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

Replies 3 (3)

SuperRAD
Shopify Partner
2 0 0

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

tanakhleh
Shopify Partner
2 0 0

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.

 

Alan
Shopify Staff
129 15 25

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