Shopify graphql Query post request with "Access denied "

FrankLi
Tourist
11 2 0

Hi all, when I send a graphql post request, about products, it returns Access denied. anyone can help ?  I run this graphql in "shopify admin api graphql explorer", it works fine !

FrankLi_0-1627996534632.png

 

FrankLi_1-1627996552150.png

 

0 Likes
awwdam
Shopify Staff
Shopify Staff
135 12 10

Hey @FrankLi,

Regardless of an app type (custom, public, or private), the result returned for the second image shared would generally be returned if an app is not properly authenticated or doesn't have access to the required scope. I would suggest reviewing our app authentication documentation here, where there are guides for each type of authentication. Additionally, you can take a closer into the link returned in the "documentation" field.

- Cheers!

awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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

0 Likes