productCreate Mutation Error: 783: unexpected token at <Mutation Input>

Highlighted
Tourist
6 0 1

I have been attempting to use the productCreate Mutation to insert products, but i get back a very generic error as follows:

783: unexpected token at <Mutation Input>

Where <Mutation Input> is simply the entire mutation payload with no identifier of where the unexpected token is.

 

is there a way to get a better error message so i can know where the message is failing?

0 Likes
Highlighted
Shopify Partner
524 38 109

Easiest thing to do is try the online explorer --> https://shopify.dev/tools/graphiql-admin-api. It should display what's wrong a bit more intuitively.

0 Likes