Unexpected results with GraphiQL in shop

New Member
1 0 0

I installed Shopify GraphiQL app in my test store. 


I know the store has already some scriptags that I created. The REST request returns the list of Scripttags. However, trying to retrieve the same list through GraphQL comes out empty:




This query is being run from the Shopify GraphiQL app inside the store. What am I doing wrong?



Reply 1 (1)
Shopify Staff (Retired)
Shopify Staff (Retired)
193 36 51

Hello @bgvo ,

Is your REST client that is seeing ScriptTags returned also responsible for having created those tags? This could be a case of the ScriptTags being scoped to the app that created them (very similar to webhooks), in which case they wouldn't be returned when called via the admin GraphQL app

Graham S | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog