Focuses on API authentication, access scopes, and permission management.
I get this response from request. My same request is already working on a number of Shopify stores but failing only on this store. Pls point me what could be wrong here.
It's urgent.
Received unexpected Response Status Code of 406
Response Headers of:
{X-Sorting-Hat-ShopId=[28122586], Server=[cloudflare], CF-RAY=[69a5a041b87ec605-KHI], X-Shopify-Stage=[production], X-Request-ID=[a2f6349d-a071-4eea-b82e-7755db880340], X-Content-Type-Options=[nosniff], Connection=[keep-alive], X-Download-Options=[noopen], X-Permitted-Cross-Domain-Policies=[none], Date=[Thu, 07 Oct 2021 08:05:43 GMT], CF-Cache-Status=[DYNAMIC], X-Sorting-Hat-PodId=[42], 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 https://widget.intercom.io https://js.intercomcdn.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&source%5Buuid%5D=a2f6349d-a071-4eea-b82e-7755db880340], Content-Length=[0], 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&source%5Buuid%5D=a2f6349d-a071-4eea-b82e-7755db880340], X-Dc=[gcp-asia-southeast1,gcp-us-east1,gcp-us-east1], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400], Content-Type=[text/html; charset=UTF-8], Expect-CT=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"]}
Response Body of:
The error says that your request specified a content-type restriction, that the server couldn't fill. Is it possible you have a type in your curl or other command regarding the content-type when generating the request ?