Troubleshoot GraphQL

Getting an error while creating new products using GraphQL

How to resolve the error while creating new products using GraphQL

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

Answer

The reason for this error is that the Sales Tax Code has been updated and the previous code SW054000 is no longer accepted by our APIs.

The New Sales Tax Code is now SW054002. Use it instead.