3/27/2024 4:25pm
I am attempting to perform a basic bulkOperationRunQuery operation. I am requesting a list of a store’s products that have a certain string in their tags and the request keeps returning:
extensions:
{code: 'INTERNAL_SERVER_ERROR', requestId: '6744ba20-63e3-4ba0-a973-8784ef963a02-1711574262'}
message:
"Internal error. Looks like something went wrong on our end.\nRequest ID: 6744ba20-63e3-4ba0-a973-8784ef963a02-1711574262 (include this in support requests)."
The actual query looks like this:
mutation {
bulkOperationRunQuery(
query:"""
{
products(first: 500, query: "tag:'truck'") {
edges {
node {
id
title
variants(first: 5) {
edges {
node {
id
title
}
}
}
}
}
}
}
"""
){
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}
The request works every time in GraphiQL. I am calling this endpoint:
'shopify:admin/api/graphql.json'
I’m sure I’m missing something but without any logs I’m lost. If I left out any pertinent information feel free to ask.