App reviews, troubleshooting, and recommendations
When using below API
curl -X POST \
https://your-development-store.myshopify.com/admin/api/2024-07/graphql.json \
-H 'Content-Type: application/json' \
-H 'X-Shopify-Access-Token: {access_token}' \
-d '{
"query": "query { orders(first: 10) { edges { node { id } } } }"
}'
With the access_token given by oauth/callback by following
const permissionUrl = `https://${shopOrigin}/admin/oauth/authorize?client_id=${apiKey}&scope=${[
"read_orders",
"read_all_orders",
].join(",")}&redirect_uri=${redirectUri}`;
Still while trying to fetch anything it ask for username and password.
The following error comes:
"errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
Everything was working fine, nothing changed.
You might need to request the "protected customer data access" in your app dashboard, under "API Access" section.
I have that too
Just a very basic check, but did you replace "your-development-store.myshopify.com" in your example curl command with your own store's URL?
Gojiberry - Best post-purchase survey and feedback app for Shopify | Install on App Store for free
Shopify Community is helpful, BUT... why not start asking your customers for feedback instead?
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025