ProductUpdate GraphQL issues

Topic summary

  • Issue: A Shopify app that had reliably uploaded/updated products for months began failing on productUpdate (GraphQL) starting yesterday evening.

  • Error details: The mutation returns “unexpected invalid token triple backslash at 11, 24; locations: line 11, column 24.” The author cannot find any triple backslashes in the sent JSON. The only “locations” field they see is within variants → inventoryQuantities → locationId.

  • Context: The app was inherited from a departed developer; the current maintainer has limited GraphQL/JSON experience. No code or payload samples were provided yet.

  • Request for help: Guidance is sought to identify the cause of the error.

  • Response so far: Another participant asked for the exact JSON payload and the GraphQL mutation used, indicating they can help once those are shared.

  • Status: Unresolved/ongoing. Next step is for the author to post the mutation and JSON so others can diagnose the syntax or payload issue at the referenced line/column.

Summarized with AI on December 22. AI used: gpt-5.

Hi,

I have taken over a Shopify store application from a developer who has since left our company but I have very little knowledge of GraphQL or JSON.

The application has been uploading and updating products and product information for months without issue until yesterday evening when calls to productUpdate mutation started returned the error:

unexpected invalid token triple backslash at 11, 24 , locations: line:11,column:24

Looking through the JSON which was uploaded I can’t see and triple backslash characters and the only mention of locations is in variants, inventoryQuantities, locationId

Does anyone have any idea on what the issue is as I’m stuck.

Thanks

Mike

Hi @miketowers ,

Can you please provide me the json and graphql query so that I can help you with the graphql query updatdes?

Thank you