|  | 
| 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 | +|=== | 
|  | 15 | +|GQLSTATUS code | StatusDescription | 
|  | 16 | +| 08000	        | error: connection exception | 
|  | 17 | +| 08007	        | error: connection exception - transaction resolution unknown | 
|  | 18 | +| 22000	        | error: data exception | 
|  | 19 | +| 22001	        | error: data exception - string data, right truncation | 
|  | 20 | +| 22003	        | error: data exception - numeric value out of range. The numeric value `$value` is outside the required range. | 
|  | 21 | +| 22004	        | error: data exception - null value not allowed | 
|  | 22 | +| 22007	        | error: data exception - invalid date, time, or datetime format | 
|  | 23 | +| 22008	        | error: data exception - datetime field overflow | 
|  | 24 | +| 22011	        | error: data exception - substring error | 
|  | 25 | +| 22012	        | error: data exception - division by zero | 
|  | 26 | +| 22015	        | error: data exception - interval field overflow | 
|  | 27 | +| 22018	        | error: data exception - invalid character value for cast. The character value `$value` is an invalid argument for the specified cast. | 
|  | 28 | +| 2201E	        | error: data exception - invalid argument for natural logarithm. The value `$value` is an invalid argument for the specified natural logarithm. | 
|  | 29 | +| 2201F	        | error: data exception - invalid argument for power function. The value `$value` is an invalid argument for the specified power function. | 
|  | 30 | +| 22027	        | error: data exception - trim error | 
|  | 31 | +| 2202F	        | error: data exception - array data, right truncation | 
|  | 32 | +| 22G02	        | error: data exception - negative limit value | 
|  | 33 | +| 22G03	        | error: data exception - invalid value type | 
|  | 34 | +| 22G04	        | error: data exception - values not comparable | 
|  | 35 | +| 22G05	        | error: data exception - invalid date, time, or datetime function field name | 
|  | 36 | +| 22G06	        | error: data exception - invalid datetime function value | 
|  | 37 | +| 22G07	        | error: data exception - invalid duration function field name | 
|  | 38 | +| 22G0B	        | error: data exception - list data, right truncation | 
|  | 39 | +| 22G0C	        | error: data exception - list element error | 
|  | 40 | +| 22G0F	        | error: data exception - invalid number of paths or groups | 
|  | 41 | +| 22G0H	        | error: data exception - invalid duration format. The duration format `$format` is invalid. | 
|  | 42 | +| 22G0M	        | error: data exception - multiple assignments to a graph element property | 
|  | 43 | +| 22G0N	        | error: data exception - number of node labels below supported minimum | 
|  | 44 | +| 22G0P	        | error: data exception - number of node labels exceeds supported maximum | 
|  | 45 | +| 22G0Q	        | error: data exception - number of edge labels below supported minimum | 
|  | 46 | +| 22G0R	        | error: data exception - number of edge labels exceeds supported maximum | 
|  | 47 | +| 22G0S	        | error: data exception - number of node properties exceeds supported maximum | 
|  | 48 | +| 22G0T	        | error: data exception - number of edge properties exceeds supported maximum | 
|  | 49 | +| 22G0U	        | error: data exception - record fields do not match | 
|  | 50 | +| 22G0V	        | error: data exception - reference value, invalid base type | 
|  | 51 | +| 22G0W	        | error: data exception - reference value, invalid constrained type | 
|  | 52 | +| 22G0X	        | error: data exception - record data, field unassignable | 
|  | 53 | +| 22G0Y	        | error: data exception - record data, field missing | 
|  | 54 | +| 22G0Z	        | error: data exception - malformed path | 
|  | 55 | +| 22G10	        | error: data exception - path data, right truncation | 
|  | 56 | +| 22G11	        | error: data exception - reference value, referent deleted | 
|  | 57 | +| 22G12	        | error: data exception - invalid value type | 
|  | 58 | +| 22G13	        | error: data exception - invalid group variable value | 
|  | 59 | +| 22G14	        | error: data exception - incompatible temporal instant unit groups | 
|  | 60 | +| 25000	        | error: invalid transaction state | 
|  | 61 | +| 25G01	        | error: invalid transaction state - active GQL-transaction | 
|  | 62 | +| 25G02	        | error: invalid transaction state - catalog and data statement mixing not supported | 
|  | 63 | +| 25G03	        | error: invalid transaction state - read-only GQL-transaction | 
|  | 64 | +| 25G04	        | error: invalid transaction state - accessing multiple graphs not supported | 
|  | 65 | +| 2D000	        | error: invalid transaction termination | 
|  | 66 | +| 40000	        | error: transaction rollback | 
|  | 67 | +| 40003	        | error: transaction rollback - statement completion unknown | 
|  | 68 | +| 42000	        | error: syntax error or access rule violation | 
|  | 69 | +| 42001	        | error: syntax error or access rule violation - invalid syntax | 
|  | 70 | +| 42002	        | error: syntax error or access rule violation - invalid reference | 
|  | 71 | +| 42004	        | error: syntax error or access rule violation - use of visually confusable identifiers | 
|  | 72 | +| 42006	        | error: syntax error or access rule violation - number of edge labels below supported minimum | 
|  | 73 | +| 42007	        | error: syntax error or access rule violation - number of edge labels exceeds supported maximum | 
|  | 74 | +| 42008	        | error: syntax error or access rule violation - number of edge properties exceeds supported maximum | 
|  | 75 | +| 42009	        | error: syntax error or access rule violation - number of node labels below supported minimum | 
|  | 76 | +| 42010	        | error: syntax error or access rule violation - number of node labels exceeds supported maximum | 
|  | 77 | +| 42011	        | error: syntax error or access rule violation - number of node properties exceeds supported maximum | 
|  | 78 | +| 42012	        | error: syntax error or access rule violation - number of node type key labels below supported minimum | 
|  | 79 | +| 42013	        | error: syntax error or access rule violation - number of node type key labels exceeds supported maximum | 
|  | 80 | +| 42014	        | error: syntax error or access rule violation - number of edge type key labels below supported minimum | 
|  | 81 | +| 42015	        | error: syntax error or access rule violation - number of edge type key labels exceeds supported maximum | 
|  | 82 | +| G1000	        | error: dependent object error | 
|  | 83 | +| G1001	        | error: dependent object error - edges still exist | 
|  | 84 | +| G1002	        | error: dependent object error - endpoint node is deleted | 
|  | 85 | +| G1003	        | error: dependent object error - endpoint node not in current working graph | 
|  | 86 | +| G2000	        | error: graph type violation | 
|  | 87 | +|=== | 
| 13 | 88 | 
 | 
| 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`. | 
|  | 89 | +[[gqlstatus-neo4j-defined-codes]] | 
|  | 90 | +=== Neo4j-defined GQLSTATUS error codes | 
| 18 | 91 | 
 | 
| 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