I’m getting the 429 “Exceeded 2 calls per second for api client. Reduce request rates to resume uninterrupted service” error with 100% persistence, even with no activity on the store or app. I waited an hour.
My store is a development store with no other apps installed. My app works fine against other stores. I’m making a simple request to:
GET https://orbital-test-harness.myshopify.com/admin/api/2020-01/fulfillment_services.json
I’m passing the X-Shopify-Access-Token header. The response doesn’t seem to include the X-Shopify-Shop-Api-Call-Limit header I read about in the documentation. Actually no responses seem to include that header, working or not. Was it removed? Retry-After always says 2.0. Here’s an example response:
HTTP/1.1 429 Too Many Requests
Date: Wed, 29 Jan 2020 00:35:43 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: <deleted>
X-Sorting-Hat-PodId: 135
X-Sorting-Hat-ShopId: 30008737928
Referrer-Policy: origin-when-cross-origin
X-Frame-Options: DENY
X-ShopId: 30008737928
X-ShardId: 135
X-Stats-UserId:
X-Stats-ApiClientId: 3302505
X-Stats-ApiPermissionId: 206955577480
Retry-After: 2.0
Strict-Transport-Security: max-age=7889238
X-Request-Id: 59af454a-6a4a-49fc-84e8-ae967e86344c
X-Shopify-Stage: production
Content-Security-Policy: default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://* shopify-pos://*; block-all-mixed-content; child-src 'self' https://* shopify-pos://*; connect-src 'self' wss://* https://*; frame-ancestors 'none'; img-src 'self' data: blob: https:; script-src https://cdn.shopify.com https://cdn.shopify.cn https://checkout.shopifycs.com https://js-agent.newrelic.com https://bam.nr-data.net https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://js.braintreegateway.com https://c.paypal.com https://maps.googleapis.com https://www.google-analytics.com https://v.shopify.com https://widget.intercom.io https://js.intercomcdn.com 'self' 'unsafe-inline' 'unsafe-eval'; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ffulfillment_platform%2Ffulfillment_services&source%5Bsection%5D=admin_api&source%5Buuid%5D=59af454a-6a4a-49fc-84e8-ae967e86344c
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 1; mode=block; report=/xss-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ffulfillment_platform%2Ffulfillment_services&source%5Bsection%5D=admin_api&source%5Buuid%5D=59af454a-6a4a-49fc-84e8-ae967e86344c
X-Dc: gcp-us-central1,gcp-us-central1
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Alt-Svc: h3-24=":443"; ma=86400, h3-23=":443"; ma=86400
Server: cloudflare
CF-RAY: 55c720b29ea99340-SJC
{
"errors": "Exceeded 2 calls per second for api client. Reduce request rates to resume uninterrupted service."
}
Any idea what the issue might be?
Thanks in advance.
