Error cors Angular + Shopify

skypell
Shopify Partner
5 0 0

Hello I am developing a site using API shopify but during my calls I have the following message:

 

Access to XMLHttpRequest at 'https://apikey:password@site.myshopify.com/admin/shop.json' from origin 'http://localhost:4200' 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.

 

I can not get around the problem ..

Can you help me ?

thank you in advance

Replies 3 (3)
samwise
Shopify Partner
31 0 6

Have you tried to disable it?  I think I used this to go around this issue. 

 
 
skypell
Shopify Partner
5 0 0

This does not change 😕

For your information, this is a site development that retrieves information from a store.

studioqdesigns
Excursionist
15 0 5

Hi - I think my team might be having the same problem. Did you manage to sort it out?