Search monitoring: error codes
Query error codes
Error codes displayed in the table devo.internal.log.error
are always composed of a letter and a number, as in the example below:
Q-1103001
→Q
stands for query.
Number
The number indicates the error type. This number may be composed either of 3 or 7 digits.
Digit 1: Recoverability
Indicates the severity of the issue and informs whether it can be fixed or not.
Digit 1 | Recoverable | Description |
---|---|---|
| NO | The error cannot be fixed. |
| MANUAL | The error requires manual action over another part of the system. |
| MAYBE | The error can be fixed in a medium-long amount of time. |
| YES | The error can be fixed immediately. |
Digit 2-3: Kind
Kind of exception retrieved.
Digits 2-3 | Kind | Description |
---|---|---|
| UNKNOWN | General error. |
| CONNECTION_ERROR | Connection error. It may be a transient issue. |
| EXTERNAL_ERROR | An error related to external factors, such as client’s code. |
| SYSTEM_RESOURCE | An error related to a system-wide resource, such as RAM or file handlers. |
| SECURITY_ERROR | An error related to a resource that requires additional security checks, such as signed queries. |
| QUERY_CANCELLED | Query cancelled by an external entity. |
| CONFIG_PARSING_ERROR | Format error on reading input resources, such as files, fields, decoding… |
| INTERNAL_ERROR | Internal error. This is not a transient issue, and can be induced by a non-deterministic event. |
| MISSING_RESOURCE | A resource required to execute the query is missing. |
| QUERY_LIMIT | Query limit reached (for example, maximum result rows, time, RAM…) |
| QUERY_PARSING_ERROR | Syntax error in the query, probably a missing or misspelled token. Includes errors found in static analysis performed after parsing (refinement order, unknown operations, operations with unexpected arguments…) |
| UNSUPPORTED_FEATURE | Unsupported or not implemented feature. |
Digit 4-7: Specific error
The last 4 digits of the code are used to specify the detailed error of the exception. This detailed description is associated to the error type indicated by digits 2-3 explained above.
Digits 4-7 | Description |
---|---|
00 General error | |
| Unknown error. |
01 Connection error | |
|
|
03 System resource error | |
|
|
|
|
|
|
04 Security error | |
|
|
|
|
06 Config parsing error | |
|
|
07 Internal error | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
08 Missing resource | |
|
|
|
|
|
|
|
|
|
|
|
|
09 Query limits | |
|
|
|
|
|
|
|
|
10 Query parsing error | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Explanation for specific error codes
Code | Recoverable (digit 1) | Kind (digit 2-3) | SpecificError (digits 4-7) | Detail |
---|---|---|---|---|
| NO | OTHER | UNKNOWN | Unknown internal error. |
| NO | SYSTEM_RESOURCE | UNAVAILABLE_REGISTRY | Required registry for a computation process is missing. |
| NO | SYSTEM_RESOURCE | UNSUITABLE_REGISTRY | Provided registry is not suitable for the required operation. |
| NO | QUERY_LIMIT | MAXIMUM_NUMBER_SURPASSED | Maximum number of elements surpassed for the selected operation. |
| NO | QUERY_PARSING_ERROR | CANNOT_PARSE_QUERY | Invalid filter added to an operation. Check your query carefully. Usually, this happens when the query is not syntactically correct (like missing a select statement) |
| NO | QUERY_PARSING_ERROR | UNKNOWN_ID | Reference to an identifier (table field or as-defined) that is not known or available at that stage. If you see this error in a my.synthesis table, check the availability of the underlying tables |
| NO | QUERY_PARSING_ERROR | BOOLEAN_EXPECTED | An expression with boolean type or a type that can by automatically converted to boolean was expected. |
| NO | QUERY_PARSING_ERROR | CONSTANT_ARGUMENT_EXPECTED | The operation expects some arguments to be constant, but a non-constant expression was given. |
| NO | QUERY_PARSING_ERROR | UNKNOWN_FUNCTION_TYPES | The operation cannot be used with one or several of the given data types. If you see this error in a my.synthesis table, check the availability of the underlying tables |
| MANUAL | CONNECTION_ERROR | AFFINITY_RULES_CHANGED | Affinity rules have changed during query execution and the query can no longer be processed. |
| MANUAL | SECURITY_ERROR | AUTH_FAILED | Authentication failed. |
| MANUAL | SECURITY_ERROR | CANNOT_CHANGE_AUTH_FOR_ACTIVE_CLUSTER | Cannot change authentication for active cluster. |
| MANUAL | CONFIG_PARSING_ERROR | INVALID_SEGMENT_FILE | Invalid cached data. |
| MANUAL | INTERNAL_ERROR | CANNOT_DELETE_ENTRY | Error while deleting cached data. |
| MANUAL | MISSING_RESOURCE | MISSING_PREAGGREGATED_DATA | Missing aggregated resource to execute the query (for example, an aggregation task). |
| MANUAL | MISSING_RESOURCE | RECURSIVE_UNION_TABLE | Recursive definition for a union table. |
| MANUAL | MISSING_RESOURCE | MISSING_MAXMIND_FILES | Missing files for Geolocation operations that use MaxMind |
| MANUAL | MISSING_RESOURCE | MISSING_PUBLICSUFFIX_FILES | Missing files for Public suffix operations. |
| MANUAL | MISSING_RESOURCE | MISSING_USERAGENT_FILES | Missing files for User agent operations. |
| MANUAL | MISSING_RESOURCE | UNKNOWN_TABLE | Unknown table. |
| MAYBE | SYSTEM_RESOURCE | MEMORY_SHORTAGE | Insufficient memory to continue the execution of the query. |
| YES | CONNECTION_ERROR | NO_CANDIDATE_SUITABLE | Affinity rules have changed during query execution and the query can no longer be processed. |
| YES | INTERNAL_ERROR | LOGFILE_LISTED_BUT_NOT_FOUND | A listed file cannot be found in the directory, usually because it has been compressed simultaneously. |