Skip to content

Conversation

andyexeter
Copy link
Contributor

This PR fixes #81 by checking the X-Shopify-Shop-Api-Call-Limit header and throwing an exception if the request count is below the bucket size after a 429 Too Many Requests error. This is indicative of a resource rate limit error introduced by Shopify a couple of months ago (https://developers.shopify.com/changelog/api-call-limits-will-be-applied-to-variant-creation)

@tareqtms tareqtms merged commit 791ea37 into phpclassic:master May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants