Receiving INTERNAL_SERVER_ERROR as result of bulkOperationRunQuery in Admin GraphQL API

LGraff
New Member
1 0 0

Here is the query

 

mutation {
    bulkOperationRunQuery(
     query: """
      {
            inventoryItems{
              edges {
                node {
                  id
              inventoryLevel(locationId: "gid://shopify/Location/49907204252") {
                available
              }
                  sku
                }
              }
            }
          }
      """
    ){
      bulkOperation{
        id
        status
      }
      userErrors{
        field
        message
      }
    }
  }

 

I am receiving this result:

 

{
  "data": {
    "currentBulkOperation": {
      "id": "gid:\/\/shopify\/BulkOperation\/64109904028",
      "status": "FAILED",
      "errorCode": "INTERNAL_SERVER_ERROR",
      "createdAt": "2020-10-15T16:06:34Z",
      "completedAt": null,
      "objectCount": "0",
      "fileSize": null,
      "url": null,
      "partialDataUrl": null
    }
  },
  "extensions": {
    "cost": {
      "requestedQueryCost": 1,
      "actualQueryCost": 1,
      "throttleStatus": {
        "maximumAvailable": 2000.0,
        "currentlyAvailable": 1999,
        "restoreRate": 100.0
      }
    }
  }
}

 

 With this X-Request-Id header:

8cabb9c3-665c-4518-b6aa-fcfaa8303b79

 

It does not have anything to do with large product number, as our store currently has less than 20 products on it for testing and analysis purposes.

 

On a separate store we are able to run this query in our private app and have zero issues, so I'm not certain that the problem is on our end. If you have any insights or ideas, please let me know.

 

0 Likes