Unable to query using shopifyqlQuery - Access Denied

When attempting a shopifyqlQuery from within a custom app I receive the following error:

Access denied for shopifyqlQuery field. Required access: read_reports access scope, read_customers access scope, read_fulfillments access scope,> > read_inventory access scope, read_orders access scope, read_products access scope and read_all_orders access scope

I have all of the above scopes configured for the app and have been approved for access to the read_all_orders scope. I’m using version 2023-07 of the Graphql Admin API.

I have tried linking the app config, pushing the app config, reinstalling the app, all to no avail.

Any help would be much appreciated.

I’ve attempted to update the access scopes to match the GraphiQL app because that is working. I used exactly the same scopes minus “read_apps” which gave me a 400 error. No luck - produces the same error.

Any ideas?

Any chance with this? I am facing the same error

1 Like