Hi Community, I am using Shopify Storefront Graphql API to get the store data. It’s working fine on other browsers but for some reasons Its not working on Safari browser and getting the shop domain undefined.
I have confirmed that the shop domain and storefront access token both are correct.
this is how i am accessing it https://${shop}/api/2024-04/graphql.json
on safari i get this on my network tab [https://undefined](https://undefined)/api/2024-04/graphql.json
I have also hardcoded the shop but still getting the same.
Hello @amjad-ali-afrid
Could you please share the store URL and some details to replicate this issue?
This is the one store URL among the multiple development stores i am using for testing “https://grace121.myshopify.com/”. I use the graphql api to get the data like collections, products and pages of the store on which I install my embedded Shopify App. everything is fine on chrome, edge but getting undefined on safari
The issue of receiving “Undefined for shop domain” in the GraphQL endpoint on Safari Browser may be due to browser-specific handling of cookies or caching.
“Empowering you with motivational, inspirational, and positive thoughts to fuel your journey.”