I run a standalone backend app (not embedded in the Shopify admin) that connects stores via the standard OAuth Authorization Code Grant flow. I’m trying to use bulkOperationRunQuery against a connected dev store, but every attempt fails with:
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.
The linked #access-token-considerations anchor appears to be empty on the docs page, with no explanatory content.
I’ve checked everything the public docs describe as prerequisites, and the error is still identical:
- “Bulk queries” access is granted for the app, confirmed in the Dev Dashboard under Settings → Access requests (shows “Access granted”).
- The IP allowlist is set up and covers my current IP range. My connection rotates between addresses within a /24 subnet, so I added the full subnet. The Dev Dashboard shows the allowlist as “Enabled.”
- The connected store’s access token is the newer expiring kind, not the old non-expiring one. I added
expiring=1to the authorization code grant token exchange, per Shopify’s “Migrate to expiring offline access tokens” guide. My database confirms the stored token has arefresh_tokenand anexpires_atvalue. - A regular (non-bulk) GraphQL query against the same store with the same token works. For example,
productsCountreturns the correct result. Only the bulk mutation is denied.
My app is managed in the Shopify Dev Dashboard, not the legacy Partner Dashboard. It uses the standard Authorization Code Grant, not the embedded-app token exchange flow. The store is a personal development store.
My question: given that all four points above are correct, what else determines whether a token is “supported” for bulkOperationRunQuery? Is there an app review or approval step, a distribution type restriction, or another requirement that isn’t covered in the public bulk operations docs?
Before you post, check that the error message matches what your backend actually logs, and that you’re comfortable with the details here being public. The post includes your app’s setup, token type, and store type. If you’d rather keep those private, the support ticket is the better route.