I have a custom app that uses a bulk operation GraphQL query to fetch data and it’s worked fine until last week. Last week, I noticed it was returning incomplete data. I query for orders and products and it only returns either orders or products but not both.
When I reduce the size of the requested data by reducing the date window for the orders, complete data is returned. Do bulk operations have a limit on requested data size?
mutation {
bulkOperationRunQuery(
query: """
{
products(query:"NOT product_type:Sets") {
edges {
node {
id
title
status
featuredImage {
url
}
variants {
edges {
node {
id
sku
title
availableForSale
sellableOnlineQuantity
inventoryItem {
unitCost {
amount
}
}
}
}
}
}
}
}
orders(query: "created_at:>=2022-10-07T00:00:00Z") {
edges {
node {
createdAt
id
lineItems {
edges {
node {
id
unfulfilledQuantity
variant {
id
}
quantity
}
}
}
}
}
}
}
"""
) {
bulkOperation {
id
status
}
userErrors {
field
message
}
}
}