Skip to main content
Syntax errors occur when Tesouro can’t parse your request. Here are the most common ones you’ll hit when starting your integration:

Invalid request structure

If the request does not match the structure of a valid GraphQL request.
scenarioA missing closing brace caused an error while processing a transaction from Maple Street Coffee, one of Clearpath Payment’s acceptors.
Request with Syntax Error
Response: Invalid Request

Invalid mutation/query identifier

If the mutation/query identifier doesn’t exist.
ScenarioSending authorizeAndCaptureCards instead of authorizeAndCaptureCard caused an error on an authorization request for Maple Street Coffee, one of Clearpath Payment’s acceptors.
Request with Syntax Error
Response: Invalid Request

Invalid mutation/query input field

If the mutation/query identifier is correct, but one of the input fields does not match the schema
ScenarioSending transactionCurrencys instead of transactionCurrency caused an error while processing a transaction from Maple Street Coffee, one of Clearpath Payment’s acceptors.
Request Variables with Syntax Error
Response: Invalid Request

Incorrect mutation/query input field type

If an input variable field type is incorrect
ScenarioSending "150.10" instead of 150.10 in the DecimalAmount field caused an error on a $150.10 transaction for Maple Street Coffee, one of Clearpath Payment’s acceptors.
Request Variables with Syntax Error
Response: Invalid Request