Shopify JS Buy SDK suddenly leads to CORS error when fetching products or collections

Michi2
Shopify Partner
9 0 4

Hello! For years we've been using Shopify's JS Buy SDK with a static site generator successfully. However as of today all our attempts to fetch products or collections to display on the website fail with a CORS error stating "Reason: CORS header 'Access-Control-Allow-Origin' missing".

 

We didn't change anything on the static site or Shopify shop for weeks and it has been working fine until today. We use v0 of Shopify's JS Buy SDK.

 

Does anyone else experience this problem? Is there an issue with the storefront API? Currently our store is broken due to this.

Reply 1 (1)

Michi2
Shopify Partner
9 0 4

Update: The issue seems to have been quietly resolved on Shopify's end. Regardless I would have expected to find at least some information on this issue.