Unexpected results with GraphiQL in shop

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)
193 36 54

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

To learn more visit the Shopify Help Center or the Community Blog.