Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 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
854eb8f
remove a leftover category (#355)
renetapopova Jul 2, 2025
d349f72
update version to 2025.07 (#357)
renetapopova Jul 2, 2025
e4264f5
Added 42I64 - unsupported aggregation (#359)
JoelBergstrand Jul 8, 2025
c524105
Adding 42I63 wrong clause order (#347)
JoelBergstrand Jul 8, 2025
308f658
Add 51N77 (#346)
sherfert Jul 8, 2025
1bde802
Add new GQLSTATUS codes 22NAA and 22NAB (#349)
Lojjs Jul 9, 2025
fdb9faf
Update 22N69 and 22N71 to have more consistent wording when compared …
Hunterness Jul 9, 2025
d21eb4f
42I64 - Unsupported operation (#360)
JoelBergstrand Jul 22, 2025
9e6463e
Update 51N52 and 51N53 to work for both alter and create (#344)
OliviaYtterbrink Jul 22, 2025
7d27904
Regenerate index file (#363)
renetapopova Jul 22, 2025
5a80b14
Update to 2025.08 (#365)
NataliaIvakina Jul 31, 2025
ebe7c23
Error 51N77 missing from content nav causing broken link (#368)
lidiazuin Aug 7, 2025
8456995
Introduce 22NBD - Unsupported Struct (#371)
gjmwoods Aug 22, 2025
2b63c9d
Bump to 2025.09 (#379)
NataliaIvakina Sep 2, 2025
0d91957
Update workflows to v2 (#372)
recrwplay Sep 8, 2025
5a31a72
Error codes: 42I65 and 42I66 (#375)
JoelBergstrand Sep 9, 2025
1cd7349
Added error code 42I67 unsupported language feature (#381)
JoelBergstrand Sep 9, 2025
5dc3cef
Update deprecation message for legacy text index providers. (#370)
MishaDemianenko Sep 9, 2025
230b1d5
Add 22NBE and 22NBF (#374)
sherfert Sep 10, 2025
be4de65
Introduces GQLSTATUS 22N60 (#382)
bigmontz Sep 11, 2025
b1a5f0a
Update version to 2025.10 (#387)
renetapopova Sep 29, 2025
ff5cbb2
Adding 42I68, mismatched pattern, 53N33 function invocation failed (#…
JoelBergstrand Oct 8, 2025
0d4d229
add new notification (#388)
OliviaYtterbrink Oct 21, 2025
67d0942
added oidc credential forwarding not enabled notification (#391)
evelinadanielsson Oct 28, 2025
f70803b
Add error code for operations that require implicit transaction (#385)
pontusmelke Oct 29, 2025
03611ed
Merge branch 'dev' into main-2025.10.1
renetapopova Oct 30, 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.09'
version: '2025.10'
start_page: ROOT:index.adoc
nav:
- modules/ROOT/content-nav.adoc
asciidoc:
attributes:
page-origin-private: false
neo4j-version: '2025.09'
neo4j-version-exact: '2025.09.0'
neo4j-buildnumber: '2025.09'
neo4j-version: '2025.10'
neo4j-version-exact: '2025.10.1'
neo4j-buildnumber: '2025.10'
2 changes: 2 additions & 0 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@
**** xref:errors/gql-errors/42I65.adoc[]
**** xref:errors/gql-errors/42I66.adoc[]
**** xref:errors/gql-errors/42I67.adoc[]
**** xref:errors/gql-errors/42I68.adoc[]
**** xref:errors/gql-errors/42N00.adoc[]
**** xref:errors/gql-errors/42N01.adoc[]
**** xref:errors/gql-errors/42N02.adoc[]
Expand Down Expand Up @@ -510,6 +511,7 @@
**** 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/53N33.adoc[]
**** xref:errors/gql-errors/53N34.adoc[]
**** xref:errors/gql-errors/53N35.adoc[]
**** xref:errors/gql-errors/53N37.adoc[]
Expand Down
30 changes: 30 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42I68.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
:page-role: new-2025.10
= 42I68

== Status description
error: syntax error or access rule violation - mismatched pattern. Pattern, `{ <<input>>1 }`, does not match input, `{ <<input>>2 }`. Verify that the pattern is valid for constructing `{ <<valueType>> }`.

== Example scenario

For example, when parsing a duration string value:

[source,cypher]
----
RETURN duration("5 hours 12 minutes 15 seconds", "h 'hours' m 'minutes'") AS d
----

You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001].
This error has a cause detailed in xref:errors/gql-errors/42I68.adoc[42I68] and status description:


[source]
----
error: syntax error or access rule violation - mismatched pattern. Pattern, `"h 'hours' m 'minutes'"`, does not match input, `"5 hours 12 minutes 15 seconds"`. Verify that the pattern is valid for constructing `DURATION`.
----

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

include::partial$glossary.adoc[]
endif::[]
29 changes: 29 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/53N33.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
:page-role: new-2025.10
= 53N33

== Status description
error: function exception - function invocation failed. Failed to invoke function `{ <<sig>> }` caused by: `{ <<msg>> }`

== Example scenario

For example, when parsing a duration string value:

[source,cypher]
----
RETURN duration({hours: 1}, "hh-mm-ss") as r
----

You will receive an error with GQLSTATUS xref:errors/gql-errors/53N33.adoc[53N33] and status description:


[source]
----
error: function exception - function invocation failed. Failed to invoke function duration(input :: ANY, pattern = DEFAULT_TEMPORAL_ARGUMENT :: STRING) :: DURATION caused by: A pattern can only be used in conjunction with a `STRING` input.
----

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

include::partial$glossary.adoc[]
endif::[]
10 changes: 10 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,11 @@ Status description:: error: syntax error or access rule violation - pattern pars

Status description:: error: syntax error or access rule violation - unsupported language feature. The query is a valid `CYPHER { <<feat>>2 }` query, but it is run in `CYPHER { <<feat>>1 }`. Consider changing the database default Cypher version using `ALTER DATABASE SET DEFAULT LANGUAGE` or prefix the query with `CYPHER { <<feat>>2 }`.

[role=label--new-2025.10]
=== xref:errors/gql-errors/42I68.adoc[42I68]

Status description:: error: syntax error or access rule violation - mismatched pattern. Pattern, `{ <<input>>1 }`, does not match input, `{ <<input>>2 }`. Verify that the pattern is valid for constructing `{ <<valueType>> }`.

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

Expand Down Expand Up @@ -2084,6 +2089,11 @@ Status description:: error: procedure exception - custom procedure execution err
[[function-exceptions]]
== Function exceptions

[role=label--new-2025.10]
=== xref:errors/gql-errors/53N33.adoc[53N33]

Status description:: error: function exception - function invocation failed. Failed to invoke function `{ <<sig>> }` caused by: `{ <<msg>> }`

=== xref:errors/gql-errors/53N34.adoc[53N34]

Status description:: error: function exception - function restricted. `{ <<fun>> }` is restricted and accesses database internals. User-defined function restriction is controlled by the `dbms.security.procedures.unrestricted` setting. Only un-restrict user-defined functions you can trust with access to database internals.
Expand Down
124 changes: 124 additions & 0 deletions modules/ROOT/pages/notifications/all-notifications.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3649,6 +3649,130 @@ m|SECURITY
m|WARNING
|===

[#_neo_clientnotification_security_oidccredentialforwardingnotenabled]
=== OIDC credential forwarding is not enabled

.Notification details
[cols="<1s,<4"]
|===
|Neo4j code
m|Neo.ClientNotification.Security.OidcCredentialForwardingNotEnabled
|Title
a|OIDC credential forwarding is not enabled.
|Description
a|Use setting 'dbms.security.allow_oidc_credential_forwarding_enabled' to enable OIDC credential forwarding.
|Category
m|SECURITY
|GQLSTATUS code
m|01N74
|Status description
|warn: OIDC credential forwarding disabled.
Use the setting `dbms.security.allow_oidc_credential_forwarding_enabled` to enable OIDC credential forwarding.
|Classification
m|SECURITY
|SeverityLevel
m|WARNING
|===

.Create a remote database alias with remote credentials set to OIDC credential forwarding when OIDC credential forwarding is not enabled.
[.tabbed-example]
=====
[.include-with-GQLSTATUS-code]
======
Command::
+
[source, cypher]
----
CREATE ALIAS `remote-neo4j` FOR DATABASE `neo4j` AT "neo4j+s://location:7687" OIDC CREDENTIAL FORWARDING
----

Returned GQLSTATUS code::
01N74

Returned status description::
warn: OIDC credential forwarding disabled.
Use the setting 'dbms.security.allow_oidc_credential_forwarding_enabled' to enable OIDC credential forwarding.

Suggestions for improvement::
The remote database alias has been successfully created, but OIDC credential forwarding is not enabled. To use the alias to connect to the remote Neo4j DBMS, allow OIDC credential forwarding by setting `dbms.security.allow_oidc_credential_forwarding_enabled` to `true`.

======
[.include-with-neo4j-code]
======
Command::
+
[source, cypher]
----
CREATE ALIAS `remote-neo4j` FOR DATABASE `neo4j` AT "neo4j+s://location:7687" OIDC CREDENTIAL FORWARDING
----

Suggestions for improvement::
The remote database alias has been successfully created, but OIDC credential forwarding is not enabled. To use the alias to connect to the remote Neo4j DBMS, allow OIDC credential forwarding by setting `dbms.security.allow_oidc_credential_forwarding_enabled` to `true`.
======
=====

[#_neo_clientnotification_security_shardedperformance]
=== Sharded privilege performance

.Notification details
[cols="<1s,<4"]
|===
|Neo4j code
m|Neo.ClientNotification.Security.ShardedPrivilegePerformance
|Title
a|Privilege with a severe performance impact on sharded databases.
|Description
a|The specified privilege severely reduces the performance of queries run on sharded databases. Consider excluding sharded databases for now.
|Category
m|SECURITY
|GQLSTATUS code
m|01N73
|Status description
|warn: sharded privilege performance.
The specified privilege severely reduces the performance of queries run on sharded databases. Consider excluding sharded databases for now.
|Classification
m|SECURITY
|SeverityLevel
m|WARNING
|===

.Grant a property access rule privilege on all databases
[.tabbed-example]
=====
[.include-with-GQLSTATUS-code]
======
Command::
+
[source, cypher]
----
GRANT TRAVERSE ON GRAPH * TO ROLE exampleRole
----

Returned GQLSTATUS code::
01N73

Returned status description::
warn: sharded privilege performance.
The specified privilege severely reduces the performance of queries run on sharded databases. Consider excluding sharded databases for now.

Suggestions for improvement::
Grant the privilege explicitly to databases instead of to all.

======
[.include-with-neo4j-code]
======
Command::
+
[source, cypher]
----
GRANT TRAVERSE ON GRAPH * TO ROLE exampleRole
----

Suggestions for improvement::
Grant the privilege explicitly to databases instead of to all.
======
=====


[#_topology_notifications]
== `TOPOLOGY` notifications
Expand Down