Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 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
2bc378f
Merge dev into main
renetapopova Jun 3, 2025
55ffbd5
update the workflows
renetapopova Jun 3, 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
1 change: 1 addition & 0 deletions .github/workflows/docs-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
branches:
- "dev"
- "main"
- "5.x"
- "4.[0-9]"
- "gqlstatus-errors"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- 'dev'
- 'main'
- '5.x'
workflow_dispatch:
# schedule:
Expand Down Expand Up @@ -45,9 +46,9 @@ jobs:
event-type: ${{ github.event.repository.name }}
client-payload: |-
{
"org": "${{ github.repository_owner }}",
"repo": "${{ github.event.repository.name }}",
"run_id": "${{ github.run_id }}",
"org": "${{ github.repository_owner }}",
"repo": "${{ github.event.repository.name }}",
"run_id": "${{ github.run_id }}",
"branch": "${{ github.ref_name }}",
"args": "--dryrun",
"publish_env": "${{ env.PUBLISH_TO }}",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request_target:
branches:
- "dev"
- "main"
- "5.x"
- "4.[0-9]"
- "gqlstatus-errors"
Expand Down
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.04'
version: '2025.05'
start_page: ROOT:index.adoc
nav:
- modules/ROOT/content-nav.adoc
asciidoc:
attributes:
page-origin-private: false
neo4j-version: '2025.04'
neo4j-version-exact: '2025.04.0'
neo4j-buildnumber: '2025.04'
neo4j-version: '2025.05'
neo4j-version-exact: '2025.05.0'
neo4j-buildnumber: '2025.05'
11 changes: 11 additions & 0 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
**** xref:errors/gql-errors/22NB6.adoc[]
**** xref:errors/gql-errors/22NB7.adoc[]
**** xref:errors/gql-errors/22NB8.adoc[]
**** xref:errors/gql-errors/22NB9.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 @@ -242,6 +243,14 @@
**** xref:errors/gql-errors/42I51.adoc[]
**** xref:errors/gql-errors/42I52.adoc[]
**** xref:errors/gql-errors/42I53.adoc[]
**** xref:errors/gql-errors/42I54.adoc[]
**** xref:errors/gql-errors/42I55.adoc[]
**** xref:errors/gql-errors/42I56.adoc[]
**** xref:errors/gql-errors/42I57.adoc[]
**** xref:errors/gql-errors/42I58.adoc[]
**** xref:errors/gql-errors/42I59.adoc[]
**** xref:errors/gql-errors/42I60.adoc[]
**** xref:errors/gql-errors/42I61.adoc[]
**** xref:errors/gql-errors/42N00.adoc[]
**** xref:errors/gql-errors/42N01.adoc[]
**** xref:errors/gql-errors/42N02.adoc[]
Expand Down Expand Up @@ -479,6 +488,8 @@
**** xref:errors/gql-errors/52N37.adoc[]
**** xref:errors/gql-errors/52N38.adoc[]
**** xref:errors/gql-errors/52N39.adoc[]
**** xref:errors/gql-errors/52N40.adoc[]
**** xref:errors/gql-errors/52N41.adoc[]
**** xref:errors/gql-errors/52U00.adoc[]
*** xref:errors/gql-errors/index.adoc#function-exceptions[Function exceptions]
**** xref:errors/gql-errors/53N34.adoc[]
Expand Down
3 changes: 2 additions & 1 deletion modules/ROOT/pages/errors/gql-errors/22N90.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
:page-role: changed-2025.05
= 22N90

== Status description
error: data exception - property type unsupported in constraint. `{ <<item>> }` is not supported in property type constraints.
error: data exception - property type unsupported in constraint. `{ <<valueType>> }` is not supported in property type constraints.

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

== Status description

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

== Example scenario

For example, try to create a property type constraint with a list of a union as property type:

[source,cypher]
----
CREATE CONSTRAINT myConstraint
FOR (n:Label)
REQUIRE n.prop IS :: LIST<INTEGER NOT NULL | FLOAT NOT NULL>
----

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 22NB9 and status description:


[source]
----
error: data exception - invalid inner list type. Lists cannot have a union of types as an inner type in this context.
----


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

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

== Status description
error: syntax error or access rule violation - invalid use of `INSERT`. `{ <<cause>> }` is not allowed in `INSERT`. Use `CREATE` or `{ <<replacement>> }`.

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

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

== Status description
error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <<tokenType>> }` using `$any()` are not allowed in `{ <<clause>> }`.

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

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

== Status description
error: syntax error or access rule violation - invalid relationship direction. Only directed relationships are supported in `{ <<clause>>}`.

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

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

== Status description
error: syntax error or access rule violation - invalid query ending. `{<<exprType>>}` cannot contain a query ending with `{<<clause>>}`.

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

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

== Status description
error: syntax error or access rule violation - invalid entity reference. Entity, `{<<expr>>}`, cannot be created and referenced in the same clause.

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

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

== Status description
error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in `{ <<clauseList>> }` clauses.

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

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

== Status description
error: syntax error or access rule violation - invalid glob escaping. Each part of the glob (a block of text up until a dot) must either be fully escaped or not escaped at all.

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

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

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

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

include::partial$glossary.adoc[]
endif::[]
4 changes: 2 additions & 2 deletions modules/ROOT/pages/errors/gql-errors/42N11.adoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
:page-role: changed-2025.03
:page-role: changed-2025.05

= 42N11

== Status description
error: syntax error or access rule violation - graph reference already exists. A graph reference with the name `{ <<db>> }` already exists.
error: syntax error or access rule violation - graph reference already exists. A graph reference with the name `{ <<dbList>> }` already exists.

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


== Status description
error: procedure exception - Reconciliation failed during writing the topology graph, transaction may not be committed.


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

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


== Status description
error: procedure exception - The key value for `{ <<field>> }` in the query string cannot be parsed when getting a routing table.


== Explanation

This error occurs when trying to use a routing policy, but providing some invalid details on a routed request. Example fields include `policy` and `alias`.

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

include::partial$glossary.adoc[]
endif::[]
55 changes: 50 additions & 5 deletions modules/ROOT/pages/errors/gql-errors/index.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This is an automatically generated file. Do not edit it directly. It is generated from the templates/gql-index-template.adoc file and should be edited there.
// THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT EDIT IT. THE STRUCTURE IS GENERATED FROM templates/gql-index-template.adoc AND THE CODES ARE POPULATED BY THE SCRIPTS LOCATED IN THE scripts/ FOLDER.


:description: This section describes the GQLSTATUS errors that Neo4j can return, grouped by category, and an example of when they can occur.
Expand Down Expand Up @@ -120,7 +120,7 @@ Status description:: error: connection exception - shard execution client error.
[[data-exceptions]]
== Data exceptions

Database exceptions occur when a client request contains the wrong format, types, or other unsupported input.
Data exceptions occur when a client request contains the wrong format, types, or other unsupported input.
Some examples are data and constraint creation, which conflicts with existing constraints, properties of non-storable type, and spatial and temporal values with invalid components.

=== xref:errors/gql-errors/22000.adoc[22000]
Expand Down Expand Up @@ -490,9 +490,10 @@ Status description:: error: data exception - not a valid CIDR IP. `{ <<input>> }

Status description:: error: data exception - new password cannot be the same as the old password. Expected the new password to be different from the old password.

[role=label--changed-2025.05]
=== xref:errors/gql-errors/22N90.adoc[22N90]

Status description:: error: data exception - property type unsupported in constraint. `{ <<item>> }` is not supported in property type constraints.
Status description:: error: data exception - property type unsupported in constraint. `{ <<valueType>> }` is not supported in property type constraints.

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

Expand Down Expand Up @@ -606,6 +607,10 @@ Status description:: error: data exception - element id unsupported on composite

Status description:: error: data exception - invalid Neo4j type. `{ <<input>> }` is not a recognized Neo4j type.

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

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


[[invalid-transaction-state]]
== Invalid transaction state
Expand Down Expand Up @@ -985,6 +990,38 @@ Status description:: error: syntax error or access rule violation - no longer va

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

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

Status description:: error: syntax error or access rule violation - invalid use of `INSERT`. `{ <<cause>> }` is not allowed in `INSERT`. Use `CREATE` or `{ <<replacement>> }`.

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

Status description:: error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <<tokenType>> }` using `$any()` are not allowed in `{ <<clause>> }`.

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

Status description:: error: syntax error or access rule violation - invalid relationship direction. Only directed relationships are supported in `{ <<clause>>}`.

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

Status description:: error: syntax error or access rule violation - invalid query ending. `{<<exprType>>}` cannot contain a query ending with `{<<clause>>}`.

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

Status description:: error: syntax error or access rule violation - invalid entity reference. Entity, `{<<expr>>}`, cannot be created and referenced in the same clause.

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

Status description:: error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in `{ <<clauseList>> }` clauses.

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

Status description:: error: syntax error or access rule violation - invalid glob escaping. Each part of the glob (a block of text up until a dot) must either be fully escaped or not escaped at all.

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

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

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

Expand Down Expand Up @@ -1039,10 +1076,10 @@ Status description:: error: syntax error or access rule violation - cannot repla

Status description:: error: syntax error or access rule violation - no such role. A role with the name `{ <<role>> }` was not found. Verify that the spelling is correct.

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

Status description:: error: syntax error or access rule violation - graph reference already exists. A graph reference with the name `{ <<db>> }` already exists.
Status description:: error: syntax error or access rule violation - graph reference already exists. A graph reference with the name `{ <<dbList>> }` already exists.

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

Expand Down Expand Up @@ -1946,6 +1983,14 @@ Status description:: error: procedure exception - cdc start position not found.

Status description:: error: procedure exception - cdc scanner inactive. The log scanner is no longer active.

=== xref:errors/gql-errors/52N40.adoc[52N40]

Status description:: error: procedure exception - Reconciliation failed during writing the topology graph, transaction may not be committed.

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

Status description:: error: procedure exception - The key value for `{ <<field>> }` in the query string cannot be parsed when getting a routing table.

=== xref:errors/gql-errors/52U00.adoc[52U00]

Status description:: error: procedure exception - custom procedure execution error cause. Execution of the procedure `{ <<proc>> }` failed due to `{ <<msgTitle>> }`: `{ <<msg>> }`
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/notifications/all-notifications.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1972,7 +1972,7 @@ Returned GQLSTATUS code::
Returned status description::
warn: feature deprecated with replacement.
id is deprecated.
It is replaced by elementId or an application-generated id.
It is replaced by elementId or consider using an application-generated id.

Suggestions for improvement::
Use the function `elementId()` instead.
Expand Down
Loading