Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
43a00fc
bump version to 2025.02 (#259)
renetapopova Feb 5, 2025
6186dc0
Replace 51N27 parameter name item with component (#260)
renetapopova Feb 10, 2025
3b7bf56
Change parameters of 22N14 (#261)
Lojjs Feb 10, 2025
d33d0c6
Update changelog (#263)
NataliaIvakina Feb 17, 2025
3e824e4
Remove labels `Introduced in 5.x` (#266)
NataliaIvakina Feb 19, 2025
64364b6
Dev parameters hover over (#268)
renetapopova Feb 25, 2025
2abb708
Document errors implemented in 2025.02 (#270)
renetapopova Feb 28, 2025
c5d9a86
Update dev version to 2025.03 (#274)
renetapopova Feb 28, 2025
2032e58
Remove 42002 (#278)
hvub Mar 17, 2025
05e53e6
Typo causing broken link (#280)
lidiazuin Mar 19, 2025
4f241fa
Add 50N23 for failed Call In Transactions retry (#276)
alexfoxgill Mar 19, 2025
e35b366
Update docs-pr-checks.yml (#281)
recrwplay Mar 19, 2025
ed4842d
Add examples to the glossary descriptions (#275)
renetapopova Mar 24, 2025
8c72b5d
Document errors implemented in 2025.03 (#284)
renetapopova Mar 24, 2025
7edd9c9
Update conditions and messages of 22N51, 42N00, 42N11, 25N05, 42N39, …
NataliaIvakina Mar 24, 2025
a174b33
Update the version to 2025.04 (#290)
NataliaIvakina Mar 28, 2025
f99aaa5
New Error - Vector coordinate type (#279)
gem-neo4j Mar 31, 2025
ad88e7f
id() changed to a feature deprecated with replacement and move unsupp…
renetapopova Mar 31, 2025
7205b56
Change parameter serverName to server (#287)
Lojjs Mar 31, 2025
5033936
Update message of 2DN01 (#288)
Lojjs Mar 31, 2025
cc5f8c0
Error missing in the content-nav (#294)
lidiazuin Apr 10, 2025
16559ba
Fix a wrong title for 52N28 (#296)
renetapopova Apr 10, 2025
ba5cc44
Add errors implemented in 2025.04 (#299)
NataliaIvakina Apr 28, 2025
f42d50b
Add errors implemented in the code (#304)
NataliaIvakina Apr 30, 2025
6015f84
Update version to 2025.05 (#306)
renetapopova Apr 30, 2025
41a47ad
Change parameter of 42N11 to a list. (#300)
Lojjs May 1, 2025
93f19db
Final surface codes (#301)
JoelBergstrand May 1, 2025
dc6b4b3
Generate gql-errors index.adoc file (#302)
renetapopova May 6, 2025
51b4a9e
Update the scripts readme (#310)
renetapopova May 6, 2025
240409c
Document new GQLSTATUS 22NB9 (#303)
Lojjs May 8, 2025
1abaa32
Fix a heading mistake and the index generation message (#314)
renetapopova May 9, 2025
8d6c26d
Add some missing glossary entries and fix 42I14 (#317)
renetapopova May 19, 2025
0cf19ec
Update the readme file (#318)
renetapopova May 19, 2025
e68d6af
Add a note that error messages are deprecated (#313)
renetapopova May 19, 2025
055a4cc
"or an application-generated id" -> "or consider using an application…
hvub May 27, 2025
d5829c6
Add 52N40 and 52N41 (#321)
nick-giles-neo May 27, 2025
05e5ecc
Update version to 2025.06 (#337)
renetapopova Jun 3, 2025
e869062
Remove old Neo4j statuses. (#291)
Lojjs Jun 5, 2025
e181f58
Update 51N31 to not use <<item>> (#328)
Hunterness Jun 5, 2025
3b19ee9
Add new GQLSTATUS 22NBA (#329)
Lojjs Jun 5, 2025
6aca200
Fix error message so it makes sense (#335)
ConorNeo Jun 5, 2025
44320be
Extend 51N41 with reason (#342)
gfx54b Jun 16, 2025
bc5ce3c
Add 22NBC (#343)
sherfert Jun 16, 2025
984cb3f
Clarify that 42NA8 might show sub-commands (#348)
Lojjs Jun 30, 2025
4f7202f
Dev merge cypher25 (#353)
renetapopova Jul 2, 2025
25510f2
New Error - Distance metric (#345)
gem-neo4j Jul 2, 2025
cdd8acc
Errors and deprecations for graph references (#340)
Lojjs Jul 2, 2025
8f2604d
Merge branch 'dev' into main-2025.06
renetapopova Jul 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions antora.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: status-codes
title: Status Codes for Errors & Notifications
version: '2025.05'
version: '2025.06'
start_page: ROOT:index.adoc
nav:
- modules/ROOT/content-nav.adoc
asciidoc:
attributes:
page-origin-private: false
neo4j-version: '2025.05'
neo4j-version-exact: '2025.05.0'
neo4j-buildnumber: '2025.05'
neo4j-version: '2025.06'
neo4j-version-exact: '2025.06.0'
neo4j-buildnumber: '2025.06'
5 changes: 5 additions & 0 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@
**** xref:errors/gql-errors/22NB7.adoc[]
**** xref:errors/gql-errors/22NB8.adoc[]
**** xref:errors/gql-errors/22NB9.adoc[]
**** xref:errors/gql-errors/22NBA.adoc[]
**** xref:errors/gql-errors/22NBC.adoc[]
*** xref:errors/gql-errors/index.adoc#invalid-transaction-state[Invalid transaction state]
**** xref:errors/gql-errors/25G02.adoc[]
**** xref:errors/gql-errors/25N01.adoc[]
Expand Down Expand Up @@ -251,6 +253,7 @@
**** xref:errors/gql-errors/42I59.adoc[]
**** xref:errors/gql-errors/42I60.adoc[]
**** xref:errors/gql-errors/42I61.adoc[]
**** xref:errors/gql-errors/42I62.adoc[]
**** xref:errors/gql-errors/42N00.adoc[]
**** xref:errors/gql-errors/42N01.adoc[]
**** xref:errors/gql-errors/42N02.adoc[]
Expand Down Expand Up @@ -353,6 +356,7 @@
**** xref:errors/gql-errors/42NA7.adoc[]
**** xref:errors/gql-errors/42NA8.adoc[]
**** xref:errors/gql-errors/42NA9.adoc[]
**** xref:errors/gql-errors/42NAA.adoc[]
**** xref:errors/gql-errors/42NFC.adoc[]
**** xref:errors/gql-errors/42NFD.adoc[]
**** xref:errors/gql-errors/42NFE.adoc[]
Expand Down Expand Up @@ -451,6 +455,7 @@
**** xref:errors/gql-errors/51N72.adoc[]
**** xref:errors/gql-errors/51N73.adoc[]
**** xref:errors/gql-errors/51N74.adoc[]
**** xref:errors/gql-errors/51N76.adoc[]
*** xref:errors/gql-errors/index.adoc#procedure-exceptions[Procedure exceptions]
**** xref:errors/gql-errors/52N01.adoc[]
**** xref:errors/gql-errors/52N02.adoc[]
Expand Down
6 changes: 0 additions & 6 deletions modules/ROOT/pages/errors/all-errors.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ This is a complete list of all client errors Neo4j may return, and what they mea
An illegal chain of aliases has been detected.
This request cannot be executed.

| Neo.ClientError.Fabric.AccessMode
| The request could not be completed due to an access mode violation

| Neo.ClientError.General.ForbiddenOnReadOnlyDatabase
| This is a read-only database, writing or modifying the database is not allowed.

Expand Down Expand Up @@ -421,9 +418,6 @@ This is a complete list of all database errors Neo4j may return, and what they m
| Neo.DatabaseError.Database.Unknown
| Unknown database management error.

| Neo.DatabaseError.Fabric.RemoteExecutionFailed
| The database was unable to execute a remote part of the statement.

| Neo.DatabaseError.General.IndexCorruptionDetected
|
The request (directly or indirectly) referred to an index that is in a failed state.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/errors/gql-errors/08N19.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= 08N19

== Status description
error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed with message `{ <<msg>> }`.


ifndef::backend-pdf[]
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/errors/gql-errors/08N20.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= 08N20

== Status description
error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed with message `{ <<msg>> }`.


ifndef::backend-pdf[]
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/errors/gql-errors/08N21.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= 08N21

== Status description
error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed with message `{ <<msg>> }`.


ifndef::backend-pdf[]
Expand Down
27 changes: 27 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/22NBA.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
= 22NBA

== Status description

error: data exception - omitting mandatory field for property type constraints for vectors. Property type constraints for vectors need to define both coordinate type and dimension.

== Example scenario

For example, try to create a property type constraint for a vector, omitting the dimension:

[source,cypher]
----
CREATE CONSTRAINT myConstraint
FOR (n:Label)
REQUIRE n.prop IS :: VECTOR<INTEGER>
----

You will receive an error with GQLSTATUS xref:errors/gql-errors/50N11.adoc[50N11].
This error has a cause detailed in xref:errors/gql-errors/22N90.adoc[22N90], which also has a subsequent cause with GQLSTATUS 22NBA and the status description above.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
21 changes: 21 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/22NBC.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
= 22NBC

== Status description

error: data exception - index belongs to constraint. Index belongs to constraint `{ <<constrDescrOrName>> }`.

== Scenario

This error code is used when the user tries drop an index belonging to a constraint.

== Possible solution

Drop the constraint instead.


ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
11 changes: 11 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42I62.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
= 42I62

== Status description
error: syntax error or access rule violation - unsupported distance metric. Unknown distance metric: `{ <<input>> }`.

ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
2 changes: 1 addition & 1 deletion modules/ROOT/pages/errors/gql-errors/42N39.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
= 42N39

== Status description
error: syntax error or access rule violation - incompatible return column names. All `{<<context>>}` must have the same return column names. Use `AS` to ensure columns have the same name.
error: syntax error or access rule violation - incompatible return column names. All `{ <<context>> }` must have the same return column names. Use `AS` to ensure columns have the same name.

ifndef::backend-pdf[]
[discrete.glossary]
Expand Down
63 changes: 63 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42NAA.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
= 42NAA

== Status description
error: syntax error or access rule violation - incorrectly formatted graph reference. Incorrectly formatted graph reference `{ <<input>> }`. Expected a single quoted or unquoted identifier. Separate name parts should not be quoted individually.

== Explanation
As of Cypher 25, database names and aliases cannot include name parts that are quoted individually.
Either the whole name must be quoted, or the whole name must be unquoted.
A recommended approach, which is consistent between different commands and Cypher versions, is to send in the database name or alias as a parameter rather than a string literal.

== Example scenario
For example, try to create a database with using the following Cypher 25 command:

[source,cypher]
----
CYPHER 25 CREATE ALIAS `foo`.`bar` FOR DATABASE baz
----

An error will be thrown with GQLSTATUS 42NAA and the following status description:

[source]
----
error: syntax error or access rule violation - incorrectly formatted graph reference. Incorrectly formatted graph reference '`foo`.`bar`'. Expected a single quoted or unquoted identifier. Separate name parts should not be quoted individually.
----

== Possible solutions

To resolve this issue, the preferred way is to replace the alias name with a parameter:

.Parameters
[source, parameters]
----
{
"aliasName": "foo.bar"
}
----

.Query
[source, cypher]
----
CREATE ALIAS $aliasName FOR DATABASE baz
----

Alternatively, if you use a string literal, the correct quoting for Cypher 25 will either be

[source,cypher]
----
CYPHER 25 CREATE ALIAS `foo.bar` FOR DATABASE baz
----

or

[source,cypher]
----
CYPHER 25 CREATE ALIAS foo.bar FOR DATABASE baz
----

ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
4 changes: 3 additions & 1 deletion modules/ROOT/pages/errors/gql-errors/51N31.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
:page-role: changed-2025.06

= 51N31

== Status description

error: system configuration or operation exception - not supported. `{ <<item>> }` is not supported in `{ <<context>> }`.
error: system configuration or operation exception - not supported. `{ <<feat>> }` is not supported in `{ <<context>> }`.


ifndef::backend-pdf[]
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/errors/gql-errors/51N41.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= 51N41

== Status description
error: system configuration or operation exception - admin operation failed. Server or database admin operation not possible.
error: system configuration or operation exception - admin operation failed. Server or database admin operation not possible. Reason: `{ <<msg>> }`

ifndef::backend-pdf[]
[discrete.glossary]
Expand Down
16 changes: 16 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/51N76.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
= 51N76


== Status description
error: system configuration or operation exception - upgrade failed. The upgrade to a new Neo4j version failed.

== Explanation
This error code can occur during a Neo4j upgrade to a new version in the rare case when something in the user's setup or DBMS environment prevents the upgrade.
The error will be accompanied by a cause with a more concrete GQLSTATUS, describing what the user needs to change before retrying the upgrade.

ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
33 changes: 27 additions & 6 deletions modules/ROOT/pages/errors/gql-errors/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ Status description:: error: connection exception - general driver database error

=== xref:errors/gql-errors/08N19.adoc[08N19]

Status description:: error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
Status description:: error: connection exception - shard execution transient error. Communication with shard `{ <<graph>> }` failed with message `{ <<msg>> }`.

=== xref:errors/gql-errors/08N20.adoc[08N20]

Status description:: error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
Status description:: error: connection exception - shard execution database error. Communication with shard `{ <<graph>> }` failed with message `{ <<msg>> }`.

=== xref:errors/gql-errors/08N21.adoc[08N21]

Status description:: error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed. with message `{ <<msg>> }`.
Status description:: error: connection exception - shard execution client error. Communication with shard `{ <<graph>> }` failed with message `{ <<msg>> }`.


[[data-exceptions]]
Expand Down Expand Up @@ -611,6 +611,14 @@ Status description:: error: data exception - invalid Neo4j type. `{ <<input>> }`

Status description:: error: data exception - invalid inner list type. Lists cannot have `{ <<typeDescription>> }` as an inner type in this context.

=== xref:errors/gql-errors/22NBA.adoc[22NBA]

Status description:: error: data exception - omitting mandatory field for property type constraints for vectors. Property type constraints for vectors need to define both coordinate type and dimension.

=== xref:errors/gql-errors/22NBC.adoc[22NBC]

Status description:: error: data exception - index belongs to constraint. Index belongs to constraint `{ <<constrDescrOrName>> }`.


[[invalid-transaction-state]]
== Invalid transaction state
Expand Down Expand Up @@ -1022,6 +1030,10 @@ Status description:: error: syntax error or access rule violation - invalid glob

Status description:: error: syntax error or access rule violation - missing LOOKUP INDEX function name. Missing function name for the LOOKUP INDEX.

=== xref:errors/gql-errors/42I62.adoc[42I62]

Status description:: error: syntax error or access rule violation - unsupported distance metric. Unknown distance metric: `{ <<input>> }`.

[role=label--changed-2025.03]
=== xref:errors/gql-errors/42N00.adoc[42N00]

Expand Down Expand Up @@ -1180,7 +1192,7 @@ Status description:: error: syntax error or access rule violation - duplicate re
[role=label--changed-2025.03]
=== xref:errors/gql-errors/42N39.adoc[42N39]

Status description:: error: syntax error or access rule violation - incompatible return column names. All `{<<context>>}` must have the same return column names. Use `AS` to ensure columns have the same name.
Status description:: error: syntax error or access rule violation - incompatible return column names. All `{ <<context>> }` must have the same return column names. Use `AS` to ensure columns have the same name.

=== xref:errors/gql-errors/42N3A.adoc[42N3A]

Expand Down Expand Up @@ -1434,6 +1446,10 @@ Status description:: error: syntax error or access rule violation - invalid refe

Status description:: error: syntax error or access rule violation - system database procedure rules. The system database supports a restricted set of Cypher clauses. The supported clause structure for procedure calls is: `CALL`, `YIELD`, `RETURN`. `YIELD` and `RETURN` clauses are optional. The order of the clauses is fixed and each can only occur once.

=== xref:errors/gql-errors/42NAA.adoc[42NAA]

Status description:: error: syntax error or access rule violation - incorrectly formatted graph reference. Incorrectly formatted graph reference `{ <<input>> }`. Expected a single quoted or unquoted identifier. Separate name parts should not be quoted individually.

=== xref:errors/gql-errors/42NFC.adoc[42NFC]

Status description:: error: syntax error or access rule violation - auth info validation error. Authentication and/or authorization could not be validated. See security logs for details.
Expand Down Expand Up @@ -1661,9 +1677,10 @@ Status description:: error: system configuration or operation exception - not su

Status description:: error: system configuration or operation exception - not supported with this configuration. `{ <<item>> }` is not supported in `{ <<context>> }`.

[role=label--changed-2025.06]
=== xref:errors/gql-errors/51N31.adoc[51N31]

Status description:: error: system configuration or operation exception - not supported. `{ <<item>> }` is not supported in `{ <<context>> }`.
Status description:: error: system configuration or operation exception - not supported. `{ <<feat>> }` is not supported in `{ <<context>> }`.

=== xref:errors/gql-errors/51N32.adoc[51N32]

Expand Down Expand Up @@ -1703,7 +1720,7 @@ Status description:: error: system configuration or operation exception - unable

=== xref:errors/gql-errors/51N41.adoc[51N41]

Status description:: error: system configuration or operation exception - admin operation failed. Server or database admin operation not possible.
Status description:: error: system configuration or operation exception - admin operation failed. Server or database admin operation not possible. Reason: `{ <<msg>> }`

=== xref:errors/gql-errors/51N43.adoc[51N43]

Expand Down Expand Up @@ -1833,6 +1850,10 @@ Status description:: error: system configuration or operation exception - transa

Status description:: error: system configuration or operation exception - maximum number of transactions reached. Failed to start a new transaction. The limit of concurrent transactions is reached. Increase the number of concurrent transactions using `{ <<cfgSetting>> }` in the neo4j.conf file.

=== xref:errors/gql-errors/51N76.adoc[51N76]

Status description:: error: system configuration or operation exception - upgrade failed. The upgrade to a new Neo4j version failed.


[[procedure-exceptions]]
== Procedure exceptions
Expand Down
Loading