Hello @ShopifyDevSup I try everything bit I can’t deploy it because my app do not have access for read_all_orders. At the end I figured out that for this you need to request access for read orders. I am waiting for access from Shopify partner support so that I can see is it working or not. But thank you for your answer.
Topic summary
A developer encounters “Access denied for orders field” errors when querying orders via GraphQL in a Shopify public app, despite having configured the necessary scopes including read_orders, read_all_orders, and write_orders.
Key Details:
- The error occurs inconsistently—only affecting some merchants, not all installations
- For failing merchants, preceding API calls for products and collections also fail with “Access denied” messages
- Scope verification queries show all required scopes appear properly granted
- The app has been approved for
read_all_ordersaccess
Troubleshooting Attempts:
- Updated
shopify.app.tomlconfiguration file - Verified scopes using AppInstallation GraphQL query
- Attempted re-authentication and redeployment
Current Status:
- One user discovered that
read_all_ordersrequires a special access request through Shopify Partner Support - The issue remains unresolved while awaiting approval from Shopify Partner Support
- Shopify support suggested re-authenticating shops after scope changes and using the authorization code grant flow to update granted scopes