Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hello.
When I run the following operation from GraphiQL app for a store, it gives the correct output.
Operation:
currentBulkOperation {
rootObjectCount
query
id
status
errorCode
createdAt
completedAt
objectCount
fileSize
url
partialDataUrl
}
{
"data": {
"currentBulkOperation": {
"rootObjectCount": "19",
"query": "{\n products {\n edges {\n node {\n id\n title\n }\n }\n }\n}",
"id": "gid://shopify/BulkOperation/424798912693",
"status": "COMPLETED",
"errorCode": null,
"createdAt": "2021-07-26T03:50:42Z",
"completedAt": "2021-07-26T03:50:44Z",
"objectCount": "19",
"fileSize": "1469",
"url": "url-removed-for-privacy-reasons",
"partialDataUrl": null
}
},
"extensions": {
"cost": {
"requestedQueryCost": 1,
"actualQueryCost": 1,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 999,
"restoreRate": 50
}
}
}
}
But when I run the same operation (exactly the same) via my public app (which is in development, at the moment), I get the following output.
Output (Public App):
{
"body": {
"data": { "currentBulkOperation": null },
"extensions": {
"cost": {
"requestedQueryCost": 1,
"actualQueryCost": 1,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 999,
"restoreRate": 50
}
}
}
},
"headers": {}
}
Rest all of the things are working fine. Can someone help, please? I can provide more info, if needed.
Hey @Dev_DeFacto,
Are you processing both requests, initiating the bulkOperation and subsequently querying for currentBulkOperation through your development app? If so, would you be able to provide me with the exactly queries you are passing, as well as an x-request-id header returned for a request that is generating a response with no data (like that last example response shared)? With that, I would be happy to take a closer look - Cheers!
awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | RANK |
---|---|
6 | |
5 | |
4 | |
3 | |
3 |