Skip to content

Commit b6f4902

Browse files
Add the rest of implemented GQLSTATUS error codes (#220)
Co-authored-by: Louise Berglund <[email protected]>
1 parent 2ad7723 commit b6f4902

File tree

1 file changed

+112
-34
lines changed

1 file changed

+112
-34
lines changed

modules/ROOT/pages/errors/gql-errors.adoc

Lines changed: 112 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,18 @@ Status description:: error: data exception
120120

121121
Status description:: error: data exception - numeric value out of range. The numeric value `{ $value }` is outside the required range.
122122

123+
=== 22007
124+
125+
Status description:: error: data exception - invalid date, time, or datetime format
126+
127+
=== 22015
128+
129+
Status description:: error: data exception - interval field overflow
130+
131+
=== 22G03
132+
133+
Status description:: error: data exception - invalid value type
134+
123135
=== 22N00
124136

125137
Status description:: error: data exception - unsupported value. The provided value is unsupported and cannot be processed.
@@ -167,13 +179,13 @@ Status description:: error: data exception - conflicting pre-parser combination.
167179

168180
Status description:: error: data exception - invalid pre-parser option value. Invalid pre-parser option, specified `{ $input }` is not valid for option `{ $option }`. Valid options are: `{ $optionList }`.
169181

170-
// === 22N11
182+
=== 22N11
171183

172-
// Status description:: error: data exception - invalid argument. Invalid argument: cannot process `{ $input }`.
184+
Status description:: error: data exception - invalid argument. Invalid argument: cannot process `{ $input }`.
173185

174-
// === 22N12
186+
=== 22N12
175187

176-
// Status description:: error: data exception - invalid date, time, or datetime format. Invalid argument: cannot process `{ $input }`.
188+
Status description:: error: data exception - invalid date, time, or datetime format. Invalid argument: cannot process `{ $input }`.
177189

178190
=== 22N13
179191

@@ -223,9 +235,9 @@ Status description:: error: data exception - invalid latitude value. Cannot crea
223235

224236
Status description:: error: data exception - invalid coordinate arguments. Cannot construct a `{ $valueType }` from `{ $coordinates }`.
225237

226-
// === 22N25
238+
=== 22N25
227239

228-
// Status description:: error: data exception - invalid temporal arguments. Cannot construct a `{ $valueType }` from `{ $temporal }`.
240+
Status description:: error: data exception - invalid temporal arguments. Cannot construct a `{ $valueType }` from `{ $temporal }`.
229241

230242
=== 22N26
231243

@@ -235,9 +247,9 @@ Status description:: error: data exception - unsupported rounding mode. Unknown
235247

236248
Status description:: error: data exception - invalid entity type. Invalid input `{ $input }` for `{ $context }`. Expected to be `{ $valueTypeList }`.
237249

238-
// === 22N28
250+
=== 22N28
239251

240-
// Status description:: error: data exception - overflow error. The result of the operation `{ $operation }` has caused an overflow.
252+
Status description:: error: data exception - overflow error. The result of the operation `{ $operation }` has caused an overflow.
241253

242254
// === 22N29
243255

@@ -263,21 +275,21 @@ Status description:: error: data exception - invalid shortest path expression. S
263275

264276
// Status description:: error: data exception - invalid use of aggregate function. Cannot use the `{ $fun }` function inside an aggregate function.
265277

266-
// === 22N35
278+
=== 22N35
267279

268-
// Status description:: error: data exception - invalid date format. Cannot parse `{ $input }` as a DATE. Calendar dates need to be specified using the format 'YYYY-MM', while ordinal dates need to be specified using the format 'YYYY-DDD'.
280+
Status description:: error: data exception - invalid date format. Cannot parse `{ $input }` as a DATE. Calendar dates need to be specified using the format 'YYYY-MM', while ordinal dates need to be specified using the format 'YYYY-DDD'.
269281

270-
// === 22N36
282+
=== 22N36
271283

272-
// Status description:: error: data exception - invalid temporal format. Cannot parse `{ $input }` as a `{ $valueType }`.
284+
Status description:: error: data exception - invalid temporal format. Cannot parse `{ $input }` as a `{ $valueType }`.
273285

274-
// === 22N37
286+
=== 22N37
275287

276-
// Status description:: error: data exception - invalid coercion. Cannot coerce `{ $value }` to `{ $valueType }`.
288+
Status description:: error: data exception - invalid coercion. Cannot coerce `{ $value }` to `{ $valueType }`.
277289

278-
// === 22N38
290+
=== 22N38
279291

280-
// Status description:: error: data exception - invalid function argument. Invalid argument to the function `{ $fun }`.
292+
Status description:: error: data exception - invalid function argument. Invalid argument to the function `{ $fun }`.
281293

282294
// === 22N39
283295

@@ -427,9 +439,9 @@ Status description:: error: data exception - property type verification failed.
427439

428440
// Status description:: error: data exception - property uniqueness constraint violated. Property uniqueness constraint violated: `{ $reasons }`.
429441

430-
// === 22N81
442+
=== 22N81
431443

432-
// Status description:: error: data exception - expression type unsupported here. Invalid input: `{ $exprType }` is not supported in `{ $context }`.
444+
Status description:: error: data exception - expression type unsupported here. Invalid input: `{ $exprType }` is not supported in `{ $context }`.
433445

434446
=== 22N82
435447

@@ -471,17 +483,17 @@ Status description:: error: data exception - property type unsupported in constr
471483

472484
Status description:: error: data exception - cannot convert alias local to remote or remote to local. Failed to alter the specified database alias `{ $alias }`. Altering remote alias to a local alias or vice versa is not supported. Drop and recreate the alias instead.
473485

474-
// === 22N92
486+
=== 22N92
475487

476-
// Status description:: error: data exception - missing RETURN. This query requires a RETURN clause.
488+
Status description:: error: data exception - missing RETURN. This query requires a RETURN clause.
477489

478-
// === 22N93
490+
=== 22N93
479491

480-
// Status description:: error: data exception - missing YIELD. A required YIELD clause is missing.
492+
Status description:: error: data exception - missing YIELD. A required YIELD clause is missing.
481493

482-
// === 22N94
494+
=== 22N94
483495

484-
// Status description:: error: data exception - invalid YIELD *. 'YIELD *' is not supported in this context. Explicitly specify which columns to yield.
496+
Status description:: error: data exception - invalid YIELD *. 'YIELD *' is not supported in this context. Explicitly specify which columns to yield.
485497

486498
=== 22N95
487499

@@ -543,9 +555,9 @@ Status description:: error: data exception - parsing JSON failure. Underlying er
543555

544556
// Status description:: error: data exception - unexpected map entry. Invalid input. Unexpected key `{ $key }`, expected keys are `{ $listAllowedKeys }`.
545557

546-
// === 22NB0
558+
=== 22NB0
547559

548-
// Status description:: error: data exception - invalid property based access control rule involving WHERE and IS NULL. The property value access rule pattern `{ $pred }` always evaluates to 'NULL'. Use `WHERE' syntax in combination with `IS NULL` instead.
560+
Status description:: error: data exception - invalid property based access control rule involving WHERE and IS NULL. The property value access rule pattern `{ $pred }` always evaluates to 'NULL'. Use `WHERE` syntax in combination with `IS NULL` instead.
549561

550562
=== 22NB1
551563

@@ -585,9 +597,9 @@ Status description:: error: invalid transaction state - transaction terminated o
585597

586598
Status description:: error: invalid transaction state - transaction start failed. Failed to start transaction. See debug log for details.
587599

588-
=== 25N07
600+
// === 25N07
589601

590-
Status description:: error: invalid transaction state - constituent transaction start failed. Failed to start constituent transaction. See debug log for details.
602+
// Status description:: error: invalid transaction state - constituent transaction start failed. Failed to start constituent transaction. See debug log for details.
591603

592604
=== 25N08
593605

@@ -679,9 +691,9 @@ Status description:: error: syntax error or access rule violation - invalid synt
679691

680692
Status description:: error: syntax error or access rule violation - invalid reference
681693

682-
=== 42004
694+
// === 42004
683695

684-
Status description:: error: syntax error or access rule violation - use of visually confusable identifiers
696+
// Status description:: error: syntax error or access rule violation - use of visually confusable identifiers
685697

686698
=== 42006
687699

@@ -735,6 +747,10 @@ Status description:: error: syntax error or access rule violation - invalid `FOR
735747

736748
Status description:: error: syntax error or access rule violation - invalid comment. Failed to parse comment. A comment starting with '/\*' must also have a closing '*/'.
737749

750+
=== 42I05
751+
752+
Status description:: error: syntax error or access rule violation - invalid FIELDTERMINATOR. The FIELDTERMINATOR specified for LOAD CSV can only be one character wide. The FIELDTERMINATOR specified for LOAD CSV can only be one character wide.
753+
738754
=== 42I06
739755

740756
Status description:: error: syntax error or access rule violation - invalid input. Invalid input `{ $input }`, expected: `{ $valueList }`.
@@ -777,14 +793,26 @@ Status description:: error: syntax error or access rule violation - invalid use
777793

778794
Status description:: error: syntax error or access rule violation - invalid use of `UNION` and `UNION ALL`. `UNION` and `UNION ALL` cannot be combined.
779795

796+
=== 42I45
797+
798+
Status description:: error: syntax error or access rule violation - invalid use of multiple path patterns. Multiple path patterns cannot be used in the same clause in combination with a selective path selector. `{ $action }`
799+
780800
=== 42I47
781801

782802
Status description:: error: syntax error or access rule violation - parser error. Parser Error: `{ $msg }`.
783803

804+
=== 42I48
805+
806+
Status description:: error: syntax error or access rule violation - invalid use of a subquery in MERGE. Subqueries are not allowed in a MERGE clause.
807+
784808
=== 42I50
785809

786810
Status description:: error: syntax error or access rule violation - token name too long. Invalid input `{ $input }..`. A `{ $tokenType }` name cannot be longer than `{ $maxTokenLength }`.
787811

812+
=== 42I51
813+
814+
Status description:: info: invalid call signature. The procedure or function `{ $procFun }` must have the signature: `{ $sig }`.
815+
788816
=== 42N00
789817

790818
Status description:: error: syntax error or access rule violation - no such database. The database `{ $db }` was not found. Verify that the spelling is correct.
@@ -892,6 +920,14 @@ Status description:: error: syntax error or access rule violation - specified nu
892920

893921
Status description:: error: syntax error or access rule violation - incompatible return columns. All subqueries in a `UNION` clause must have the same return column names.
894922

923+
=== 42N40
924+
925+
Status description:: error: syntax error or access rule violation - single relationship pattern required. The `{ $fun }` function must contain one relationship pattern.
926+
927+
=== 42N42
928+
929+
Status description:: error: syntax error or access rule violation - unsupported sub-path binding. Sub-path assignment is not supported.
930+
895931
=== 42N45
896932

897933
Status description:: error: syntax error or access rule violation - unexpected end of input. Unexpected end of input, expected 'CYPHER', 'EXPLAIN', 'PROFILE' or a query.
@@ -900,6 +936,10 @@ Status description:: error: syntax error or access rule violation - unexpected e
900936

901937
Status description:: error: syntax error or access rule violation - unsupported normal form. Unknown Normal Form: `{ $input }`.
902938

939+
=== 42N51
940+
941+
Status description:: error: syntax error or access rule violation - invalid parameter. Invalid parameter `{ $param }`.
942+
903943
=== 42N57
904944

905945
Status description:: error: syntax error or access rule violation - invalid use of data-modifications in expressions. `{ $expr }` cannot contain any updating clauses.
@@ -912,6 +952,14 @@ Status description:: error: syntax error or access rule violation - function wit
912952

913953
Status description:: error: syntax error or access rule violation - incomplete query. A query must conclude with a `RETURN` clause, a `FINISH` clause, an update clause, a unit subquery call, or a procedure call without a `YIELD` clause.
914954

955+
=== 42N73
956+
957+
Status description:: error: syntax error or access rule violation - invalid placement of USE clause. The USE clause must be the first clause of a query or an operand to '... UNION ...' . In a CALL sub-query, it can also be the second clause if the first clause is an importing WITH.
958+
959+
=== 42N74
960+
961+
Status description:: error: syntax error or access rule violation - invalid nested USE clause. Failed to access `{ $db1 }` and `{ $db2 }`. Child USE clauses must target the same graph as their parent query. Run in separate (sub)queries instead.
962+
915963
=== 42N75
916964

917965
Status description:: error: syntax error or access rule violation - invalid use of graph function. A call to the graph function `{ $fun }` is only allowed as the top-level argument of a `USE` clause.
@@ -969,10 +1017,18 @@ Status description:: error: syntax error or access rule violation - cannot modif
9691017

9701018
Status description:: error: syntax error or access rule violation - cannot delete own user. Cannot delete the user record of the current user.
9711019

1020+
=== 42NA5
1021+
1022+
Status description:: info: accessing multiple graphs only supported on composite databases. Accessing multiple graphs in the same query is only supported on composite databases. Connect to a composite database with the desired constituents.
1023+
9721024
=== 42NA6
9731025

9741026
Status description:: info: invalid alias target. Aliases are not allowed to target composite databases.
9751027

1028+
=== 42NA7
1029+
1030+
Status description:: info: referenced database not found. No database is corresponding to `{ $db }`. Verify that the elementId is correct.
1031+
9761032
=== 42NFD
9771033

9781034
Status description:: error: syntax error or access rule violation - credentials expired. Permission denied. The credentials you provided were valid, but must be changed before you can use this instance.
@@ -998,7 +1054,7 @@ Status description:: error: general processing exception - internal error. Inter
9981054

9991055
Status description:: error: general processing exception - deadlock detected. Deadlock detected while trying to acquire locks. See log for more details.
10001056

1001-
== 50N06
1057+
=== 50N06
10021058

10031059
Status description:: error: general processing exception - remote execution client error. Remote execution failed. See cause for more details.
10041060

@@ -1012,18 +1068,17 @@ Status description:: error: general processing exception - invalid server state
10121068

10131069
=== 50N11
10141070

1015-
10161071
Status description:: error: general processing exception - constraint creation failed. Unable to create `{ $constrDescrOrName }`.
10171072

10181073
=== 50N12
10191074

10201075
Status description:: error: general processing exception - constraint drop failed. Unable to drop `{ $constrDescrOrName }`.
10211076

1022-
== 50N16
1077+
=== 50N16
10231078

10241079
Status description:: error: general processing exception - remote execution transient error. Remote execution failed. See cause for more details.
10251080

1026-
== 50N17
1081+
=== 50N17
10271082

10281083
Status description:: error: general processing exception - remote execution database error. Remote execution failed. See cause for more details.
10291084

@@ -1036,6 +1091,7 @@ Status description:: error: general processing exception - unexpected error. Une
10361091
50N42 is the default GQLSTATUS code for exceptions without a GQL object.
10371092
For more information, see link:https://neo4j.com/docs/operations-manual/current/monitoring/logging/#_use_json_format_for_the_query_log[Operations Manual -> Use JSON format for the query log].
10381093
====
1094+
10391095
== System configuration or operation exception
10401096

10411097
System configuration or operation exception errors occur when there is an error in the system configuration or operation, such as procedure registration failure, a missing class field annotation, an unsupported injectable component type, duplicate field names, invalid map key type, etc.
@@ -1198,6 +1254,10 @@ Status description:: error: system configuration or operation exception - out of
11981254

11991255
Status description:: error: system configuration or operation exception - stack overflow. There is not enough stack size to perform the current task.
12001256

1257+
=== 51N38
1258+
1259+
Status description:: error: system configuration or operation exception - failed to acquire execution thread. There are insufficient threads available for executing the current task.
1260+
12011261
=== 51N39
12021262

12031263
Status description:: error: system configuration or operation exception - raft log corrupted. Expected set of files not found on disk. Please restore from backup.
@@ -1313,6 +1373,9 @@ Status description:: error: system configuration or operation exception - vector
13131373

13141374
Status description:: error: system configuration or operation exception - resource exhaustion. Insufficient resources to complete the request.
13151375

1376+
=== 51N68
1377+
1378+
Status description:: error: system configuration or operation exception - CDC is disabled for this database. Change Data Capture is not currently enabled for this database.
13161379

13171380
=== 51N69
13181381

@@ -1418,3 +1481,18 @@ Status description:: error: procedure exception - wrong database. Change identif
14181481
=== 52N32
14191482

14201483
Status description:: error: procedure exception - invalid sequence number. Change identifier `{ $param1 }` has an invalid sequence number `{ $param2 }`.
1484+
1485+
=== 52N33
1486+
1487+
Status description:: error: procedure exception - procedure invocation failed. Failed to invoke procedure/function `{ $sig }` caused by: `{ $msg }`.
1488+
1489+
=== 52N34
1490+
1491+
Status description:: error: procedure exception - procedure sandboxed. `{ $sig }` is unavailable because it is sandboxed. Sandboxing is controlled by the dbms.security.procedures.unrestricted setting. Only un-restrict procedures you can trust with access to database internals.
1492+
1493+
=== 52N35
1494+
1495+
Status description:: error: procedure exception - procedure compilation failed. Failed to compile procedure/function defined in `{ $procClass }`: `{ $msg }`
1496+
1497+
1498+

0 commit comments

Comments
 (0)