Offline graphqlClient Returning NULL BulkOperation

Here is query

query {
  node(id: "gid://shopify/BulkOperation/3782681723030") {
    ... on BulkOperation {
      url
      partialDataUrl
    }
  }
}

with online graph client result

{
    "data": {
        "node": {
            "url": "https://storage.googleapis.com/shopify-tiers-assets-prod-us-east1/05u5cw0g5xu1acyvghkhp9wmrg6x?GoogleAccessId=assets-us-prod%40shopify-tiers.iam.gserviceaccount.com&Expires=1693121522&Signature=Pb8OocQhAL4udTWCHZ%2F%2BUC%2F%2FN9MA64eJX0caClBe0ch6Qox12qkivFIFhN2BZlvVktfUqfmXQ1WWwHHjg%2BBSeyi7yNLiSRhrcVGrZJxuUGfPHf638nM9%2BPxh8ToQLUoMlx0qT7cQ1YQ9WOnas2VCeayxbG5vV32YfzL6zidtL8VCqgxgpBbK7JLUOuGWbl0gAK63XE69h8CGFsIOFlL3dpXMJkq%2Bt0XMEpmt9RKNqHQCgBsZthZcXO0mijG2XAacBHldznuuItn6VNtShgoK2jR4mZ3rRkxazMPoT5zP%2Bet48L2K4A50WHO%2Faff7pxcKmY4YnBObeuLatAB59sQzIw%3D%3D&response-content-disposition=attachment%3B+filename%3D%22bulk-3782681723030.jsonl%22%3B+filename%2A%3DUTF-8%27%27bulk-3782681723030.jsonl&response-content-type=application%2Fjsonl",
            "partialDataUrl": null
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 1,
            "actualQueryCost": 1,
            "throttleStatus": {
                "maximumAvailable": 1000.0,
                "currentlyAvailable": 999,
                "restoreRate": 50.0
            }
        }
    }
}

with offline graph client result

{
    "data": {
        "node": null
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 1,
            "actualQueryCost": 1,
            "throttleStatus": {
                "maximumAvailable": 1000.0,
                "currentlyAvailable": 999,
                "restoreRate": 50.0
            }
        }
    }
}

any can suggest me what is problem here?

Hi @makasanas ,

Are you querying the bulk operation from a different api client than the one you are creating it with?

Bulk Operations are limited to one of each type (bulkOperationRunMutation or bulkOperationRunQuery) at a time per API client. The GraphQL Admin API does not expose the completed bulkOperations to other API clients either.

If you can replicate this with the same API client as the one that initiated the bulk operation, please post all the steps of your workflow and I’ll try to replicate.

Cheers.