Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: Tim MeagherThis error occurs when a BRAINscript statement contains some invalid syntax.
The most common reason for the error is a misspelled or non-existance function name.
For instance, if instead of getting the length of a list using the function "len", I tried using the (non-existent) function "size":
myList = list()
lisSize = 'my_input_field'.size()
I would get this error.
To prevent mistyping and to ensure you are using the correct BRAINScript functions it is useful to use the inbuilt auto-complete and calltip functionality within the LAE.
If you start typing a function name within a BRAINscript expression, auto-complete tips will popup to help you finish the name of a function.
Also, you can find the list of available functions when entering into a BRAINscript parameter via the right click menu.