• Getting Started
• HELP
• Error Messages
• PARSE_ERROR

# Error code: PARSE_ERROR

This guide explains why you may experience a parse error and how to solve it.

In general, a parse error happens when the code you have written does not conform to the Rel syntax rules, thus the Rel compiler is not able to work with it.

Try inspecting the following example that returns the error:

def friends = {("Mike", "Anna"); ("Zoe", "Jenn"))}

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

Note that the RAI Console helps you detect this by underlining where the error is located. As a general suggestion to solve these kinds of issues, you should look for misspellings, incorrect characters, extra spaces, incorrect encoding, or other mistakes.