Skip to main content

InvalidNumberOfArgumentsInIfError

The formula contains an invalid number of arguments for the IF operator.

typestringrequired
Constant value: invalid_number_of_arguments_in_if
Default value: invalid_number_of_arguments_in_if
location objectrequired

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

anyOf

Represents the location of an error in a formula.

startPosintegerrequired

Start position of the error in the formula.

Possible values: >= 0

endPosintegerrequired

End position of the error in the formula.

Possible values: >= 1

numArgsFoundintegerrequired

The number of arguments found in the IF expression.

InvalidNumberOfArgumentsInIfError
{
"type": "invalid_number_of_arguments_in_if",
"location": {
"startPos": 0,
"endPos": 0
},
"numArgsFound": 0
}