Why does a bulk operation expires?

annapurna
Tourist
12 0 4

Hi,

We are getting EXPIRED status from some bulk operation query. What could be the reason for it? Should we recreate the query again and poll once a bulk query has EXPIRED status.

 

{
    "data": {
        "node": {
            "id": "gid://shopify/BulkOperation/{removed_operation_id}",
            "status": "EXPIRED",
            "errorCode": null,
            "createdAt": "2020-09-27T10:15:42Z",
            "completedAt": "2020-09-27T10:35:29Z",
            "objectCount": "26890",
            "fileSize": null,
            "url": null,
            "partialDataUrl": null
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 1,
            "actualQueryCost": 1,
            "throttleStatus": {
                "maximumAvailable": 2000.0,
                "currentlyAvailable": 1999,
                "restoreRate": 100.0
            }
        }
    }
}

 

 

 

 

Reply 1 (1)

_JB
Shopify Staff
836 100 222

Hey @annapurna,

Bulk operation exports expire after 1 week, so you'll need to run the operation again if you're seeing an expired status.

JB | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog