Trying to retrieve a count of new orders via API calls today and received a 404 error. Further investigation showed that all API calls were generating the same error. The strange thing is that the same routines work fine when I run them from my home.
This is the resulting header data when trying to retrieve a count of new orders:
HTTP/1.1 404 Not Found
Date: Mon, 12 Dec 2022 17:36:38 GMT
Content-Type: application/json; charset=utf-8
Connection: close
X-Sorting-Hat-PodId: 86
X-Sorting-Hat-ShopId: 11848064
Vary: Accept-Encoding
Referrer-Policy: origin-when-cross-origin
X-Frame-Options: DENY
X-ShopId: 11848064
X-ShardId: 86
X-Stats-UserId:
X-Stats-ApiClientId: 1304342
X-Stats-ApiPermissionId: 18905386
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
X-Shopify-API-Version: 2022-01
X-Shopify-API-Version-Warning: https://shopify.dev/concepts/about-apis/versioning
HTTP_X_SHOPIFY_SHOP_API_CALL_LIMIT: 1/80
X-Shopify-Shop-Api-Call-Limit: 1/80
Strict-Transport-Security: max-age=7889238
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.shopifycdn.net https://checkout.shopifycs.com 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 âselfâ âunsafe-inlineâ âunsafe-evalâ; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=error_404&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ferrors&source%5Bsection%5D=admin_api&source%5Buuid%5D=8e6784ae-8d93-45c3-816b-a5ce718663cd
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=error_404&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Ferrors&source%5Bsection%5D=admin_api&source%5Buuid%5D=8e6784ae-8d93-45c3-816b-a5ce718663cd
X-Dc: gcp-us-east5,gcp-us-central1,gcp-us-central1
X-Request-ID: 8e6784ae-8d93-45c3-816b-a5ce718663cd
CF-Cache-Status: DYNAMIC
Report-To: {âendpointsâ:[{âurlâ:âhttps://a.nel.cloudflare.com/report/v3?s=wKPBoWA0WWuHTDhY4hMsr7Yexc%2BnKU6Km%2FO%2FH7GBXMZe5FzijyJp6Q8%2FK01FddTXdsuqR0CWJTYV%2FjcMpp4slsTmNR9rO1TQ3DebKLIENPiaKakDz0t917%2Fvu2GiYaUEFW5HfFqk%2BjFyfV0cEe5SSzoGâ}],âgroupâ:âcf-nelâ,âmax_ageâ:604800}
NEL: {âsuccess_fractionâ:0.01,âreport_toâ:âcf-nelâ,âmax_ageâ:604800}
Server-Timing: cfRequestDuration;dur=738.000154
Server: cloudflare
CF-RAY: 7788393108a2e230-ORD
alt-svc: h3=â:443â; ma=86400, h3-29=â:443â; ma=86400
I have no idea why requests from the customer site error out, and the same requests from my home work.
This had been working fine for years. No changes have been made.
Any help with this would be greatly appreciated.