MONEI / Shopify-api-node

Node Shopify connector sponsored by MONEI
https://monei.com/shopify-payment-gateway/
MIT License
952 stars 280 forks source link

Response code 429 (Too Many Requests) but http_x_shopify_shop_api_call_limit: '1/40' create Product #441

Closed randolf-alegre closed 3 years ago

randolf-alegre commented 3 years ago

Error occured everytime I create a product:

'content-type': 'application/json; charset=utf-8', 'transfer-encoding': 'chunked', connection: 'close', 'x-sorting-hat-podid': '78', 'x-sorting-hat-shopid': '7415332922', 'referrer-policy': 'origin-when-cross-origin', 'x-frame-options': 'DENY', 'x-shopid': '7415332922', 'x-shardid': '78', 'x-stats-userid': '', 'x-stats-apiclientid': '2456297', 'x-stats-apipermissionid': '84493041722', 'x-shopify-api-terms': 'By accessing or using the Shopify API you agree to the Shopify API License and Terms of Use at https://www.shopify.com/legal/api-terms', http_x_shopify_shop_api_call_limit: '1/40', 'x-shopify-shop-api-call-limit': '1/40', 'x-shopify-api-version': '2020-10', 'strict-transport-security': 'max-age=7889238',

It says here that:

statusCode: 429, statusMessage: 'Too Many Requests',

May I ask for help what I am missing?

Thanks!

lpinca commented 3 years ago

I don't don't know but it does not seem a bug in the library. It seems Shopify is returning 429 even if the limit has not been reached.

lpinca commented 3 years ago

I'm closing this due to inactivity. Discussion can continue if needed.