• HELP
• ERROR MESSAGES
• Error Reporting

# Error Reporting

This guide introduces how errors are reported depending on the way you are interacting with the system, including the RAI Console and the RAI SDKs.

## RAI Console

If you are experiencing any error while using the RAI Console, the following fields are returned in the output:

FieldMeaning
CodeType of issue encountered. Refer to the full list of errors.
MessageA short description of the problem.
ReportFull detailed information on the cause of error.

This is an example:

## SDKs

If you are experiencing any error while using any of the RAI SDKs, the following fields are returned as a JSON string in the output:

FieldMeaning
error_codeThe type of issue encountered. Refer to the full list of errors.
is_errorWhether an error occurred or there was some other problem.
is_exceptionWhether an exception occurred or there was some other problem.
messageA short description of the problem.
pathA file path for the cases when such a path was used.
reportFull detailed information on the cause of error.
typeThe type of problem, for example, "ClientProblem".

This is an example using the RelationalAI SDK for Python:

{
"is_error": true,
"error_code": "PARSE_ERROR",
"path": "",
"report": "1| def output = {1;;2;3}\n                 ~~^~\n\nwhile parsing:\n    1. expr ::= expr \";\" expr\n    2. expr ::= expr \";\" expr\n    3. expr ::= \"{\" expr \"}\"\n\nUnexpected \";\" found.\n\n",
"message": "parse error",
"is_exception": false,
"type": "ClientProblem"
}

## List of Error Codes

Error CodeDescription
ARITY_MISMATCHArity mismatch errors.