AdminAPI Query "Access denied for locations field."

AdminAPI Query "Access denied for locations field."

T1Boy
Shopify Partner
5 0 2

Hi everyone,
I need to create a query to retrieve all store locations. I set up my adminAPi app with the token including the 'read_location' permission. 

But no matter the permission I allow, I get this error "Access denied for locations field.".

I checked all permissions. URL and what could cause the issue, but couldn't find anything. COuld ou help me understand?

 

I found this topic that probably could fix it, but unfortunately, I don't understand it much : https://community.shopify.com/c/technical-q-a/access-denied-for-access-field-on-metafielddefinition/...

Thank you,

Screenshot 2025-03-11 at 12.21.04 AM.png

Replies 0 (0)