Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Response code 429 (Too Many Requests) After making 20k POST request .

Solved

Response code 429 (Too Many Requests) After making 20k POST request .

Kamal_Berriga
Shopify Partner
16 0 0

Does shopify have a daily limit of api call POST  request

Im trying to create products using shopify API , 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 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 : e04df31e-a213-41b0-aa32-0d039c1f3b44

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

Accepted Solution (1)

bburke4
Tourist
4 1 0

This is an accepted solution.

Replies 3 (3)

bburke4
Tourist
4 1 0

This is an accepted solution.

Their API rate limit info is here: https://shopify.dev/concepts/about-apis/rate-limits

Kamal_Berriga
Shopify Partner
16 0 0

this is not an accepted solution , i don't know why vix have accepted it , it was not accepted by me

DevNishant
Visitor
1 0 0

Hi,

I have seen that the case where shopify bucket is full and it will return 429 Too many requests error with Retry-After header.

My question is regarding Retry-After Header. As per standards Retry-After can give the waiting timing in seconds or in hours and may be dates. With date I means if we have received 429 in 19-Feb-2020 and Retry-After headers give the value 22-Feb-2020.

Does  in the worst case, we can receive the waiting time in date format from shopify too?

Regards,

Nishant