GraphQL Bulk Operations randomly cancelling

Highlighted
Shopify Expert
30 0 14

A few of our customers are experiencing issues because their bulk operations will randomly cancel. We don't have anything in our code to even cancel them, so it must be coming from Shopify's servers. Any ideas on what to do? All we can do is mark the operation "failed" and have the customer retry.

 

{
  "data": {
    "currentBulkOperation": {
      "id": "gid://shopify/BulkOperation/9xxxxxx52",
      "status": "CANCELED",
      "errorCode": null,
      "createdAt": "2020-06-02T20:47:48Z",
      "completedAt": null,
      "objectCount": "0",
      "fileSize": null,
      "url": null,
      "partialDataUrl": null
    }
  },
  "extensions": {
    "cost": {
      "requestedQueryCost": 1,
      "actualQueryCost": 1,
      "throttleStatus": {
        "maximumAvailable": 1000,
        "currentlyAvailable": 999,
        "restoreRate": 50
      }
    }
  }
}
0 Likes
Highlighted
Shopify Staff
Shopify Staff
587 72 130

Hey @BGilbert,

 

Can you provide a few example ids for bulk operations that were unexpectedly cancelled? I'll check our logs for any more information about why they were cancelled.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Highlighted
Shopify Expert
30 0 14

Here you go: "id": "gid://shopify/BulkOperation/9414049852"

 

Let me know your findings! So far I haven't noticed any consistency between large or small payloads for example.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
587 72 130

Hey @BGilbert,

We've made some changes that should address the bulk operation cancellations. Can you confirm if you're still seeing the issue?

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes