Rate Limited on Bulk Query

Highlighted
New Member
4 0 0

I'm making a large bulk query trying to get all my product variants and I'm getting throttled to just 1000 products. Is there a reason for this?

Here is my query:

mutation {
  bulkOperationRunQuery(
   query: """
    {
      products {
        edges {
          node {
            id
            title
          }
        }
      }
    }
    """
  ) {
    bulkOperation {
      id
      status
    }
    userErrors {
      field
      message
    }
  }
}



Here is the response:

{
  "data": {
    "currentBulkOperation": {
      "id": "gid://shopify/BulkOperation/40827093014",
      "status": "COMPLETED",
      "errorCode": null,
      "createdAt": "2020-11-19T02:35:33Z",
      "completedAt": "2020-11-19T02:35:35Z",
      "objectCount": "1001",
      "fileSize": "79010",
      "url": "https://storage.googleapis.com/shopify-tiers-assets-prod-us-east1/y6wlmj7c62g4nrfczp94vgkjd0hr?GoogleAccessId=assets-us-prod%40shopify-tiers.iam.gserviceaccount.com&Expires=1606358135&Signature=FTmM6feAUZ%2FvAigO%2BcW9cBXq4lQYCj2PGJ%2FwC3dWvw21DZMt%2BVcp%2BtAaqtHTu7paojKAprJAETtsy%2BLIi6cwTpgLOT5gHxwXsdAvLbZj8Q9unYxW%2FCbzCIFrIW%2Fx69GKk52o%2BwARkQDzHOY1vozn1%2BtCMj4hl0HGHYKjRDozsbC1dc5TZoEo9zr8Oq%2FptZ2gm7Q7yK%2FtwQj9xHfjQpMUFHUZAdc9fbb1cwqOXWhQiUWaPGcEH3kMJ4sC%2FTjFHfYb4gfQqE7rJvvgbt3a9ssR4yZmThpnxylNGlnbfXN3m64vIfg61BNfAxt60xS9j7p2C%2BNdbESfd9xVShopR2Dt5A%3D%3D&response-content-disposition=attachment%3B+filename%3D%22bulk-40827093014.jsonl%22%3B+filename%2A%3DUTF-8%27%27bulk-40827093014.jsonl&response-content-type=application%2Fjsonl",
      "partialDataUrl": null
    }
  },
  "extensions": {
    "cost": {
      "requestedQueryCost": 1,
      "actualQueryCost": 1,
      "throttleStatus": {
        "maximumAvailable": 1000,
        "currentlyAvailable": 999,
        "restoreRate": 50
      }
    }
  }
}

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
176 21 27

Hey @StevenPetteruti 

Where do you see that you are getting throttled? Based on your response I see 1001 products under the objectCount. It is likely that the shop you are running that query on only has 1001 products. 

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

0 Likes