Hi everyone,
I’m encountering an intermittent issue when attempting to exchange an authorization code for an access token using the Shopify admin/oauth/access_token endpoint. Over the past two days, there’s been an increase in HTTP 429 responses for this endpoint. In the 429’s responses, the response headers include cf-mitigated: challenge
, suggesting that Cloudflare might be issuing challenges to these requests.
Notably, these endpoint responses lack the X-Shopify-Shop-Api-Call-Limit header that typically appears in API responses. The presence of the cf-mitigated: challenge
header is interesting, but I’m not certain about the exact source of these 429 errors.
For context, we’re making on average 30–40 requests per hour to this endpoint for different stores, so the request frequency isn’t particularly high.
Questions:
-
Has anyone else experienced similar 429 errors with the cf-mitigated: challenge header when interacting with Shopify’s OAuth endpoints?
-
Could there be other causes for these 429 errors besides Cloudflare challenges?
-
Are there any known limitations or special considerations for the admin/oauth/access_token endpoint that differ from other Shopify API endpoints?
-
Has Shopify recently changed any policies or limits related to OAuth token exchange that might explain this behavior?
Any insights or recommendations on how to address this would be greatly appreciated.
Thank you!