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

Solved
Kamal_Berriga
Shopify Partner
15 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

0 Likes
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

0 Likes
Kamal_Berriga
Shopify Partner
15 0 0

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

0 Likes
DevNishant
New Member
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

0 Likes