Skip to main content

UnexpectedTokenError

The formula contains an unexpected token.

typeTyperequired
Constant value: unexpected_token
Default value: unexpected_token
location objectrequired

Location of the error in the formula. If none, the parser wasn't able to locate the position of the error.

anyOf
startPosStartposrequired

Start position of the error in the formula.

Possible values: >= 0

endPosEndposrequired

End position of the error in the formula.

Possible values: >= 1

unexpectedTokenUnexpectedtokenrequired
UnexpectedTokenError
{
"type": "unexpected_token",
"location": {
"startPos": 0,
"endPos": 0
},
"unexpectedToken": "string"
}