Skip to main content

InvalidReferenceError

The expression contains references to columns or formulas that are invalid.

typestringrequired
Constant value: invalid_reference
Default value: invalid_reference
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

referenceTypestringrequired

The kind of reference that failed to resolve.

Possible values: [column, custom_benchmark, round]

Default value: column
referenceName objectrequired

The name of the reference that is invalid.

anyOf
string
InvalidReferenceError
{
"type": "invalid_reference",
"location": {
"startPos": 0,
"endPos": 0
},
"referenceType": "column",
"referenceName": "string"
}