Development discussions around Shopify APIs
I saw there was a similar issue in the past that supposed to be fixed, but I am still having the same issue.
I am using the Shopify GraphiQL App in my Dev store to test and I am getting the Access Denied error.
Any help here will be much appreciated.
Thanks,
Solved! Go to the solution
This is an accepted solution.
Hey @tfchb,
The GraphiQL app can't be used to test app subscriptions, as it attempts to run the mutation against the GraphiQL app itself (rather than your app). I recommend testing these calls using an HTTP client like Insomnia. To make calls you can install your app on a shop, retrieve the access token from your app, and paste that into Insomnia as a request header.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
just for reference, the link for the other post reporting the same issue, which was reported as a Bug on the Shopify end.
This is an accepted solution.
Hey @tfchb,
The GraphiQL app can't be used to test app subscriptions, as it attempts to run the mutation against the GraphiQL app itself (rather than your app). I recommend testing these calls using an HTTP client like Insomnia. To make calls you can install your app on a shop, retrieve the access token from your app, and paste that into Insomnia as a request header.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022