This is my graphql query:
mutation {
bulkOperationRunQuery(
query: “”" {productVariants { edges { node {priceselectedOptions { name value}product { id hasOnlyDefaultVariant productType totalInventory vendor tags} } }} }
“”"
) {
bulkOperation {
id
status
}
userErrors {
code
field
message
}
}
}
It still work when I call graphql via my backend. However, when migrating to Shopify direct api access in frontend, i faced error: “Internal error. Looks like something went wrong on our end.\nRequest ID: 2b3789be-d1b9-4cbd-a9c4-add0e206fe0d-1761552973 (include this in support requests).”
I have tested in Graphiql, it still work fine.
Hey @Harry_Pagefly, since it’s happening only with direct access mode, I would suspect it is a result of permissions in some way, or the bulk operation itself.
Can you test a query that is not a bulk operation and see if that works with direct API access to narrow this down further?
Hey @Harry_Pagefly, were you able to run that test?
Hi @KyleG-Shopify,I’ve tested other queries and they work fine, but only the bulk operation query returns this error. Therefore, I’m continuing to call the Shopify GraphQL API through our server for bulk operations, while migrating all other queries to direct API access.
Hi @Harry_Pagefly, are you still seeing this issue? We have been testing it here and bulk operations, including similar query to yours are working with direct access.
Hi @KyleG-Shopify, yes, the issue is still happening on my end. I’ve tested it again using the following endpoint:
shopify:admin/api/2025-07/graphql.json
Can you share the bulk operation ID of the latest failed test?