Skip to content
HELP
ERROR MESSAGES
PARSE ERROR

Error Code: PARSE_ERROR

This guide explains why a parse error may occur and describes how to fix it.

In general, you get a parse error when your code doesn’t conform to the Rel syntax rules, thus the Rel compiler isn’t able to work with it.

Consider the following example that returns a parse error:

def friends = {("Mike", "Anna"); ("Zoe", "Jenn"))}
Error example from the RAI Console

The use of unbalanced parentheses in the second tuple, i.e., ("Zoe", "Jenn")), causes the error.

Note that the RAI Console helps you detect this by underlining where the error is located. A general suggestion to fix this error is to look for misspellings, incorrect characters, extra spaces, incorrect encoding, or other mistakes.

Was this doc helpful?