BulkOperation getting cancelled randomly for stores

Hello Shopify Community,

I’m an app developer. Over the past two weeks, we’ve encountered an issue where bulk operations are being randomly cancelled across several stores.

From our end, we’ve thoroughly reviewed the logs and can confirm that no manual cancellation was triggered by our system. Could you please provide any additional context or insight into the possible reasons a bulk operation might be marked as “CANCELED”?

Here’s a response of one such request:
{
“__typename”: “BulkOperation”,
“id”: “gid://shopify/BulkOperation/7629624377730”,
“status”: “CANCELED”,
“errorCode”: null,
“createdAt”: “2025-06-20T04:45:13Z”,
“completedAt”: null,
“objectCount”: “0”,
“fileSize”: null,
“url”: null,
“partialDataUrl”: null
}
If you need any further information from my side, please let me know. Thanks in advance.

Has anyone else experienced similar issues recently?

1 Like

If you have the request ids or other bulk job ids that’d probably help the team :blush:

1 Like

Hi @JordanFinners ,

Here are other bulk job IDs, that have been cancelled.

“gid://shopify/BulkOperation/6564848632140”
“gid://shopify/BulkOperation/5738471522478”
“gid://shopify/BulkOperation/6517419966832”
“gid://shopify/BulkOperation/4388324180030”
“gid://shopify/BulkOperation/5921519861981”
“gid://shopify/BulkOperation/3471847161933”

Hey @Sudharshan_S, can you share some more context on the type of bulk operations you are using? Example of the query or mutation body can help.

You mentioned this happening on multiple stores. Is it the same request that is failing?

Since it’s random, does that mean that when you retry it works, or are these ones that fail, failing consistently?

HI @KyleG-Shopify ,
Yes, as you said, when I retry the same the bulk operation, it works.
Here’s an sample bulkOperationRunQuery which my app runs.

mutation {
  bulkOperationRunQuery(
    query:"""
    {
      products(query: "id:21321312333 OR id:132312321333") {
        edges {
          node {
            id
            createdAt
            updatedAt
            descriptionHtml
            title
            combinedListingRole
            category{
              id
              name
              fullName
            }
            handle
            productType
            vendor
            tags
            status
            featuredImage{
              id
              height
              width
              url
            }
            publishedAt
            images{
              edges{
                node{
                  id
                  altText
                  height
                  width
                  url
                }
              }
            }
            reviews_rating: metafield (namespace: "reviews", key: "rating"){
              id
              key
              type
              namespace
              value
              definition{
                id
                name
              }
              
            }
            
            
            variants{
              edges{
                node{
                  id
                  title
                  position
                  sku
                  barcode
                  price
                  compareAtPrice
                  inventoryPolicy
                  inventoryItem{
                    tracked
                  }
                  inventoryQuantity
                  sellableOnlineQuantity
                  image{
                    id
                  }
                  selectedOptions{
                    name
                    value
                    optionValue {
                      id
                      name
                    }
                   }
                  inventoryItem {
                    unitCost {
                      amount
                    }
                  }
                }
              }
            }
            collections{
              edges{
                node{
                  id
                  title
                  handle
                  
                }
              }
            }
            options {
              id
              name
              position
              values
              
              optionValues {
                id
                name
                
              }

            }
          }
        }
      }
    }
    """
  ) {
    bulkOperation {
      id
      status
    }
    userErrors {
      field
      message
    }
  }
}```


Let me know if you need any other details

Thanks, that helps. I don’t see anything that stands out with that query.

I haven’t had luck searching our logs based on the operation id. Do you by chance have the request id from your bulkOperationRunQuery?