Discussions

Ask a Question
Back to All

Getting an error while creating new products using GraphQL

Hi there,

I’m trying to create new products using GraphQL. I keep getting this error though:

rpc error: code = InvalidArgument desc = CleverBridge:
GQL:
{"networkErrors":null,"graphqlErrors":[{"message":"Variable
'$input.salesTaxCodeId' is invalid. Unable to convert
'SW054000' to 'SalesTaxCodeEnum'"}]}

Can you pls help? Not sure what’s going on here?