Access denied for metaobject field

dannaz
Shopify Partner
3 0 0

I am using the storefront graphql api and able to access all data fine. However, I am getting the following when trying to access a metaobject...

 

"Access denied for metaobject field"
 
Why and where can I fix this? The interesting thing is, when I went to view my team members who also have access to the api, I was able to see the scopes and add the metabobject to their profile. 
Replies 3 (3)

dannaz
Shopify Partner
3 0 0

Also has message...

"Required access: `unauthenticated_read_metaobjects` access scope."

But I can't figure out how to set this scope. Please advise how to give these permissions.

Alok_Kasgar
Shopify Partner
112 26 27

This will fixed from private app dashboard. See below screenshot

Alok_Kasgar1_0-1678182807656.png

 

Alok Kasgar
If helpful, please Like and Accept this Solution to help others too | Email: alokasgar@gmail.com
dannaz
Shopify Partner
3 0 0

Thank Alok! This helped me start in the right place. I discovered though, there are a few more steps between "Apps and sales channel" settings, including 

1. Click on "App Development"

2. Click on desired custom app

3. Click on "Storefront API Integration"

 

And then it looks different from your ss. I wonder if you are using a different app to manage your store?

 

Screen Shot 2023-03-07 at 1.26.08 PM.png