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 >
'x-shopify-api-version': '2020-10', I'm using a private app to create products
Solved! Go to the solution
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...
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.
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.