Shopify orders export guide
“Access denied for bulkOperationRunQuery field”
What you’ll need
Shopify’s free GraphiQL app (with read_orders; read_all_orders for orders older than 60 days access)
How to get this: Shopify’s free GraphiQL app
- Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
- Then open it any time from Apps › Shopify GraphiQL App in your admin.
The full error
Access denied for bulkOperationRunQuery field. Required access: Only accessible by supported access tokens: https://shopify.dev/docs/api/usage/bulk-operations/queries#access-token-considerations.Fix it
- Install Shopify’s GraphiQL app on the store with read_orders (and read_all_orders for orders older than 60 days).
- Paste the bulk query there and run it. It replies with status CREATED.
- For your own app, Shopify’s docs list which access tokens may run bulk queries; a client-credentials token from a custom app gets this error until bulk queries are enabled for the app.
Other permission problems
- An “Access denied” error naming orders: the app is missing read_orders. Reinstall the GraphiQL app with it ticked.
- Orders older than 60 days missing from the file: the app needs read_all_orders.