Hi how are you?
We are receiving an internal server error when trying to get all the products with the Bulk Operation.
This is our request:
mutation {
bulkOperationRunQuery(
query: "" "" ""{
products(query: "" status: ACTIVE, DRAFT "") {
edges {
node {
graphId: id
title
productId: legacyResourceId
featuredImage {
originalSrc
}
variants {
edges {
cursor
node {
graphId: id
product {
graphId: id
productId: legacyResourceId
}
image {
originalSrc
}
title
sku
barcode
variantId: legacyResourceId
inventoryItem {
graphId: id
harmonizedSystemCode
countryCodeOfOrigin
inventoryItemId: legacyResourceId
}
}
}
}
}
}
}
}
"" "" "") {
bulkOperation {
id
status
},
userErrors {
field
message
}
}
}
And this is the response:
{
"data": {
"currentBulkOperation": {
"id": "gid://shopify/BulkOperation/1434895024281",
"status": "FAILED",
"errorCode": "INTERNAL_SERVER_ERROR",
"createdAt": "2022-06-06T19:43:36Z",
"completedAt": null,
"objectCount": "5332",
"fileSize": null,
"url": null,
"partialDataUrl": null
}
},
"extensions": {
"cost": {
"requestedQueryCost": 1,
"actualQueryCost": 1,
"throttleStatus": {
"maximumAvailable": 1000.0,
"currentlyAvailable": 999,
"restoreRate": 50.0
}
}
}
}
We are using the same query with all of our merchants and until now it is failing only with one. All others work fine. So I guess our query is all right.
Please help!
Regards!