Development discussions around Shopify APIs
Im was trying to create products over my store using shopify private app , after creating about 20K products , i got the Response code 429 (Too Many Requests)
My code respect API limitation , I do a sleep of 0.5 between each api call.
I have waited a day and launched the script again , after about 500 API call , i got the Response code 429 (Too Many Requests)
Last API call request ID is : 8fbd51c9-2299-42db-8941-f5a51470a5da
my header is >
http_x_shopify_shop_api_call_limit: '1/40'
'x-shopify-shop-api-call-limit': '1/40'
'x-shopify-api-version': '2020-10', I'm using a private app to create products
Solved! Go to the solution
This is an accepted solution.
Okay, have you taken the time to read the replies I've made? As Shopify documentation clearly states, for shops over 50,000 total product variants (you have over that), only a maximum of 1,000 new product variants can be added per day via the API. And even then, it might sometimes be blocked based on other threads I've read in this community forum. If your shop is on the Plus plan this limit appears to be lifted.
What if you extend the sleep timer for, say, 1 call every second? As long as no other process is using the same API credentials and making calls outside of the ones you are making this shouldn't happen. Wonder if there is a service-side issue on Shopify's end? I've seen other posts on here mentioning the same issue...
Yes i have tried that ,i have even tried to make 1 call each 1.5 second , but im still getting the same message 429
Are these API calls by any chance POST'ing new product variants? Or just GET'ting of PUT'ting existing records? Shopify has published limits in terms of how many product variants can be created each day.
This are POST api call , for products creation
See https://shopify.dev/concepts/about-apis/rate-limits#resource-based-rate-limits for details. This is a known behavior that's documented.
I have already check that , im respecting the api are limite
How many product variants are already in the particular Shopify shop you are hitting with your API calls? For example, let's say you have 5,000 existing products and each of those have 2 variants. That means the total number of product variants is already sitting at 10,000 total. Read the documentation link I provided. It should make things clear!
The following Admin API resources, in both GraphQL and REST versions, have an additional throttle that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than 1,000 new variants can be created per day.
A have 52K products , each product contain only one variant
This is an accepted solution.
Okay, have you taken the time to read the replies I've made? As Shopify documentation clearly states, for shops over 50,000 total product variants (you have over that), only a maximum of 1,000 new product variants can be added per day via the API. And even then, it might sometimes be blocked based on other threads I've read in this community forum. If your shop is on the Plus plan this limit appears to be lifted.
Yes i see now , thank you so much for your help
Yes see, thank you so much for your help
Hi everybody,
do you know how much time does last the blocking due to 429 exceed?
Thanks.
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023