Admin API

Shopify Partner
4 0 0

Hello Team, 

I have created a template and integrated it with the admin API generated from Shopify apps. The purpose of this API is to retrieve orders and products based on certain criteria. While this setup works perfectly fine on the staging site, I encountered an error after going live. Below is the error message I received:

Access to fetch at '' (redirected from '') from origin '' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.


How can I resolve the redirection and CORS policy issues to successfully run this API?

Thank you in Advance!!!

Replies 0 (0)