Metaobjects scope issue

AlexanderWeb
Shopify Partner
5 0 0

I have created the following:

Screenshot 2023-07-20 at 14.18.19.png

 

and I was trying to access it like so:

Screenshot 2023-07-20 at 14.15.45.png

 

however I am getting the above error even though the scopes seems to set right:

 

Screenshot 2023-07-20 at 14.16.01.png

 

Any help would much appreciated. Thank you

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1312 215 454

Hi @AlexanderWeb ,

 

The screenshot with the permissions error looks like the Shopify GraphiQL Explorer app which would not have the same permissions as the custom app in the last screenshot.

 

To add the permission for reading metaobjects you would need to add that permission to the Shopify GraphiQL explorer app by checking the box for that permission near the bottom of the installation page when installing it. 

 

Here's a link to that installation page: https://shopify-graphiql-app.shopifycloud.com/login

 

Have a great day,
Jon551

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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