AdminAPI Query "Access denied for locations field."

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/post/2400374

Thank you,

1 Like