|
1 | | -:description: The Neo4j error codes for Neo4j version {neo4j-version}. |
2 | | - |
3 | | -[[error-codes]] |
| 1 | +:description: The Neo4j error codes for Neo4j version. |
| 2 | +[[neo4j-errors]] |
4 | 3 | = Server errors |
5 | 4 |
|
6 | | -Error codes are Neo4j status codes returned by the server when the execution of a query fails. |
7 | | -They always have the severity level `ERROR`. |
8 | | -Errors are grouped based on the type of the error code: |
| 5 | +// [role=label--version-5.25] |
| 6 | +// [[gqlstatus-error-object]] |
| 7 | +// == GQL-status error object |
| 8 | + |
| 9 | +// [[gqlstatus-standard-defined-codes]] |
| 10 | +// === Standard-defined GQLSTATUS codes |
9 | 11 |
|
10 | | -Client errors:: |
11 | | - These errors are caused by the client and are usually related to the request itself. |
12 | | - Client errors have the prefix `Neo.ClientError`. |
| 12 | +// .Standard-defined GQLSTATUS error codes |
| 13 | +// [options="header", cols="<1s,<4"] |
| 14 | +// [%collapsible] |
| 15 | +// |=== |
| 16 | +// |GQLSTATUS code | StatusDescription |
| 17 | +// | 08000 | error: connection exception |
| 18 | +// | 08007 | error: connection exception - transaction resolution unknown |
| 19 | +// | 22000 | error: data exception |
| 20 | +// | 22001 | error: data exception - string data, right truncation |
| 21 | +// | 22003 | error: data exception - numeric value out of range. The numeric value `$value` is outside the required range. |
| 22 | +// | 22004 | error: data exception - null value not allowed |
| 23 | +// | 22007 | error: data exception - invalid date, time, or datetime format |
| 24 | +// | 22008 | error: data exception - datetime field overflow |
| 25 | +// | 22011 | error: data exception - substring error |
| 26 | +// | 22012 | error: data exception - division by zero |
| 27 | +// | 22015 | error: data exception - interval field overflow |
| 28 | +// | 22018 | error: data exception - invalid character value for cast. The character value `$value` is an invalid argument for the specified cast. |
| 29 | +// | 2201E | error: data exception - invalid argument for natural logarithm. The value `$value` is an invalid argument for the specified natural logarithm. |
| 30 | +// | 2201F | error: data exception - invalid argument for power function. The value `$value` is an invalid argument for the specified power function. |
| 31 | +// | 22027 | error: data exception - trim error |
| 32 | +// | 2202F | error: data exception - array data, right truncation |
| 33 | +// | 22G02 | error: data exception - negative limit value |
| 34 | +// | 22G03 | error: data exception - invalid value type |
| 35 | +// | 22G04 | error: data exception - values not comparable |
| 36 | +// | 22G05 | error: data exception - invalid date, time, or datetime function field name |
| 37 | +// | 22G06 | error: data exception - invalid datetime function value |
| 38 | +// | 22G07 | error: data exception - invalid duration function field name |
| 39 | +// | 22G0B | error: data exception - list data, right truncation |
| 40 | +// | 22G0C | error: data exception - list element error |
| 41 | +// | 22G0F | error: data exception - invalid number of paths or groups |
| 42 | +// | 22G0H | error: data exception - invalid duration format. The duration format `$format` is invalid. |
| 43 | +// | 22G0M | error: data exception - multiple assignments to a graph element property |
| 44 | +// | 22G0N | error: data exception - number of node labels below supported minimum |
| 45 | +// | 22G0P | error: data exception - number of node labels exceeds supported maximum |
| 46 | +// | 22G0Q | error: data exception - number of edge labels below supported minimum |
| 47 | +// | 22G0R | error: data exception - number of edge labels exceeds supported maximum |
| 48 | +// | 22G0S | error: data exception - number of node properties exceeds supported maximum |
| 49 | +// | 22G0T | error: data exception - number of edge properties exceeds supported maximum |
| 50 | +// | 22G0U | error: data exception - record fields do not match |
| 51 | +// | 22G0V | error: data exception - reference value, invalid base type |
| 52 | +// | 22G0W | error: data exception - reference value, invalid constrained type |
| 53 | +// | 22G0X | error: data exception - record data, field unassignable |
| 54 | +// | 22G0Y | error: data exception - record data, field missing |
| 55 | +// | 22G0Z | error: data exception - malformed path |
| 56 | +// | 22G10 | error: data exception - path data, right truncation |
| 57 | +// | 22G11 | error: data exception - reference value, referent deleted |
| 58 | +// | 22G12 | error: data exception - invalid value type |
| 59 | +// | 22G13 | error: data exception - invalid group variable value |
| 60 | +// | 22G14 | error: data exception - incompatible temporal instant unit groups |
| 61 | +// | 25000 | error: invalid transaction state |
| 62 | +// | 25G01 | error: invalid transaction state - active GQL-transaction |
| 63 | +// | 25G02 | error: invalid transaction state - catalog and data statement mixing not supported |
| 64 | +// | 25G03 | error: invalid transaction state - read-only GQL-transaction |
| 65 | +// | 25G04 | error: invalid transaction state - accessing multiple graphs not supported |
| 66 | +// | 2D000 | error: invalid transaction termination |
| 67 | +// | 40000 | error: transaction rollback |
| 68 | +// | 40003 | error: transaction rollback - statement completion unknown |
| 69 | +// | 42000 | error: syntax error or access rule violation |
| 70 | +// | 42001 | error: syntax error or access rule violation - invalid syntax |
| 71 | +// | 42002 | error: syntax error or access rule violation - invalid reference |
| 72 | +// | 42004 | error: syntax error or access rule violation - use of visually confusable identifiers |
| 73 | +// | 42006 | error: syntax error or access rule violation - number of edge labels below supported minimum |
| 74 | +// | 42007 | error: syntax error or access rule violation - number of edge labels exceeds supported maximum |
| 75 | +// | 42008 | error: syntax error or access rule violation - number of edge properties exceeds supported maximum |
| 76 | +// | 42009 | error: syntax error or access rule violation - number of node labels below supported minimum |
| 77 | +// | 42010 | error: syntax error or access rule violation - number of node labels exceeds supported maximum |
| 78 | +// | 42011 | error: syntax error or access rule violation - number of node properties exceeds supported maximum |
| 79 | +// | 42012 | error: syntax error or access rule violation - number of node type key labels below supported minimum |
| 80 | +// | 42013 | error: syntax error or access rule violation - number of node type key labels exceeds supported maximum |
| 81 | +// | 42014 | error: syntax error or access rule violation - number of edge type key labels below supported minimum |
| 82 | +// | 42015 | error: syntax error or access rule violation - number of edge type key labels exceeds supported maximum |
| 83 | +// | G1000 | error: dependent object error |
| 84 | +// | G1001 | error: dependent object error - edges still exist |
| 85 | +// | G1002 | error: dependent object error - endpoint node is deleted |
| 86 | +// | G1003 | error: dependent object error - endpoint node not in current working graph |
| 87 | +// | G2000 | error: graph type violation |
| 88 | +// |=== |
13 | 89 |
|
14 | | -Transient errors:: |
15 | | - These errors are detected by the server and are usually related to some kind of database unavailability, such as limits reached, out-of-memory, timeouts, etc. |
16 | | - The error can be temporary and could therefore succeed if retrying the request. |
17 | | - Transient errors have the prefix `Neo.TransientError`. |
| 90 | +// [[gqlstatus-neo4j-defined-codes]] |
| 91 | +// === Neo4j-defined GQLSTATUS error codes |
18 | 92 |
|
19 | | -Database errors:: |
20 | | - These errors are caused by the database and are usually related to the database state. |
21 | | - Database errors have the prefix `Neo.DatabaseError`. |
|
0 commit comments