New Shopify Certification now available: Liquid Storefronts for Theme Developers

Getting a "Failed to parse the mutation - Unexpected end of document" error on all bulk queries

Schmidtc63
Shopify Partner
48 7 14

query:

 

mutation {bulkOperationRunMutation(mutation: "mutation call($input: ProductInput!) {productUpdate(input: $input) {product {id {variants(first: 20) {nodes {id sku}}}}}", stagedUploadPath: "tmp/63578079486/bulk/62552451-7eba-4cc1-85df-c947a5559999/1669363450") {bulkOperation {id url status} userErrors {message field}}}

 

response:

 

{"data":{"bulkOperationRunMutation":{"bulkOperation":null,"userErrors":[{"message":"Failed to parse the mutation - Unexpected end of document","field":null}]}},"extensions":{"cost":{"requestedQueryCost":10,"actualQueryCost":10,"throttleStatus":{"maximumAvailable":2000.0,"currentlyAvailable":1990,"restoreRate":100.0}}}}

 

input file:

 

{"input":{"id":"gid:\/\/shopify\/Product\/7931585659999","privateMetafields":[{"namespace": "product", "key": "matrixify", "valueInput": {"value": "1", "valueType": "STRING"}}]}}
{"input":{"id":"gid:\/\/shopify\/Product\/7931587494999","privateMetafields":[{"namespace": "product", "key": "matrixify", "valueInput": {"value": "1", "valueType": "STRING"}}]}}
{"input":{"id":"gid:\/\/shopify\/Product\/7931588116999","privateMetafields":[{"namespace": "product", "key": "matrixify", "valueInput": {"value": "1", "valueType": "STRING"}}]}}

 

 

The exact same query works on a different store. 

What could the issue be?

I've verified the file actually exists on google drive. 

Replies 0 (0)