Errors and limits
A formula can go wrong in two ways. A check error shows in the editor before anything runs: the formula is incomplete or does not fit the columns that reach it. A run failure happens while the node runs, on a value the check could not foresee, and fails the node.
Check errors
Section titled “Check errors”| Message | Cause | Fix |
|---|---|---|
Cannot find property "Name" |
No column of that exact name reaches the statement | Check the spelling and case; a column removed by keepProps or unsetProp is gone for later statements |
Cannot find function len() |
The function does not exist | Use a function from the function reference |
Calling name() with argument that may not be type text |
An argument has the wrong type | Convert it, for example with format, toNumber, or parseDate, or setType the column first |
Cannot find input "x" |
No wire into the node has that handle | Check the wire’s handle on its Overview panel |
Column name "constructor" is reserved |
The name is a built-in member of JavaScript objects | Choose another column name |
| A bare expression in statement position | A line such as prop("price") + 1 computes a value and writes nothing |
Write it with setProp |
reads the new value of `a` - reorder the statements or use a temporary name |
The statement reads a column an earlier setProp replaced, so it would get the new value |
Read it before replacing it, or go through a temporary column; see Map and shape columns |
A setProp that changes a column’s type |
A column has one type at a time | Write a new column, or convert with setType |
| A context key read before it is written | The first context().setProp of a key sets its type |
Write the key in an earlier statement |
groupBy, sortBy, splitRows, appendRows, or spreadProps inside if or do |
Row-set statements act on all rows | Put them on their own line |
desc outside sortBy |
desc only marks a sort key |
Use it as a sortBy argument |
raiseException() without a key inside each |
Every item would share one ticket | Write raiseException(field, key) with a key per row and item |
The editor also warns, without blocking the run, when rowIndex() follows a filter, sortBy, or groupBy, because the position then follows that statement rather than the arrival order.
After a query or a script, which can add columns the editor cannot see, a column it does not know is typed any. Convert such a column with setType or a conversion function before relying on its type.
Run failures
Section titled “Run failures”A run failure fails the whole step and writes no rows. In a view formula it fails only the row it happened on.
| Message | Cause | Fix |
|---|---|---|
Numeric operand is empty |
Arithmetic or a comparison on a blank number; a blank number is not 0 |
Test it with empty(…) first, or default it: if(empty(prop("fee")), 0, prop("fee")) |
Cannot parse numeric operand |
Text that is not a number in a numeric position | Clean it with replaceAll, or check it with test before converting |
Division by zero |
A divisor is 0 |
Test the divisor before dividing |
Cannot parse date cell |
A date cell that is not ISO-8601 | Load the column as text and convert with parseDate(text, format) |
Cannot parse boolean cell |
A boolean cell that is not true or false |
Compare the text instead, or map it with if |
Cannot parse numeric operand: "abc", Cannot convert "yes" to boolean, Cannot convert "30/09/2026" to date |
setType met a value the type cannot hold |
Clean or filter the column before setType; parse other date formats with parseDate(text, format) |
| An invalid regular expression | A pattern in test, match, replace, or replaceAll does not compile |
Fix the pattern; backslashes are doubled inside double quotes |
| A limit exceeded | A value or computation passed one of the limits below | Reduce the input, or split the work across statements |
A cell is read the first time a statement uses it, so a column the formula never reads passes through as it arrived and cannot fail the run.
An unusable style value never fails a run: in a node file the style write is skipped and reported on the node. An exception never fails a run either; only a run failure does. See Validate data.
Limits
Section titled “Limits”| Limit | Value |
|---|---|
| Evaluation steps for one expression on one row (list functions count one step per item) | 2,000,000 |
| Regular expression pattern length | 512 characters |
| Text a regular expression is applied to | 100,000 characters |
repeat count |
10,000 |
| List length | 100,000 items |
Text produced by concat, join, repeat, replace, replaceAll, or one map |
1,000,000 characters |
| Nesting of parentheses, brackets, and expressions | 100 levels |
An each body counts one step per item, as a list function does.
What a formula cannot do
Section titled “What a formula cannot do”A formula runs on its rows and its named tables only. It cannot run arbitrary code, read rows of its own input other than through groupBy, rowIndex(), and context(), or call the network. To call out, use a verb such as fromApi, fromAi, or toEmail; for general-purpose code, use fromScript.