Skip to content

Commit c4f8684

Browse files
Update errors and notifications lists
1 parent 17dd58f commit c4f8684

File tree

3 files changed

+39
-9
lines changed

3 files changed

+39
-9
lines changed

modules/ROOT/pages/changelogs.adoc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
|===
2424

2525

26-
//Starting from 2025.01, when using Cypher25, queries using `WAIT` return the notifications listed above instead of result rows.
27-
//The behaviour for Cypher5 remains unchanged.
26+
//Starting from 2025.01, when using Cypher 25, queries using `WAIT` return the notifications listed above instead of result rows.
27+
//The behaviour for Cypher 5 remains unchanged.
2828

2929
== Neo4j 5.26
3030

@@ -49,10 +49,6 @@ such as GQLSTATUS code, StatusDescription, and DiagnosticRecord.
4949
For more information, see xref:errors/index.adoc#gqlstatus-error-object[GQL-status error object].
5050

5151

52-
**Deprecations:**
53-
54-
The server-side Notification API and the `getNotifications()` method of the Result Core API were deprecated.
55-
5652
== Neo4j 5.25
5753

5854
Starting from 5.25, the query log includes the GQL error information under the JSON object `errorInfo`.
@@ -83,7 +79,7 @@ For more information, see link:https://neo4j.com/docs/operations-manual/current/
8379
| 03N62
8480
| Neo.ClientNotification.Statement.RedundantOptionalSubquery
8581

86-
| ?? // Not assigned yet and not documented
82+
| N/A
8783
| Neo.TransientError.Invalid.ResourceExhaustion
8884

8985
|===

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ If you want to drop the index, you must also drop the constraint.
145145
| Neo.ClientError.Schema.RepeatedRelationshipTypeInSchema
146146
| Unable to create an index or a constraint because the schema had a repeated relationship type.
147147

148+
| Neo.ClientError.Schema.TokenLengthError
149+
| A token name, such as a label, relationship type or property key is too long.
150+
148151
| Neo.ClientError.Schema.TokenNameError
149152
|
150153
An invalid name is used for a token (label, relationship type, property key).
@@ -188,6 +191,9 @@ Please reconnect.
188191
| Neo.ClientError.Statement.ExternalResourceFailed
189192
| Access to an external resource failed.
190193

194+
| Neo.ClientError.Statement.InvalidTargetDatabaseError
195+
| The specified database is not a valid target for this command.
196+
191197
| Neo.ClientError.Statement.NotSystemDatabaseError
192198
| This is an administration command and it should be executed against the `system` database.
193199

@@ -319,6 +325,10 @@ You could try increasing the stack size; for example to set the stack size to `2
319325
There is not enough memory to perform the current task.
320326
Please try increasing `server.memory.off_heap.transaction_max_size` in the Neo4j configuration file (normally in _conf/neo4j.conf_ or, if you are using Neo4j Desktop, found through the user interface), and then restart the database.
321327

328+
| Neo.TransientError.Invalid.ResourceExhaustion
329+
| The server has rejected this request as a resource is exhausted at the moment.
330+
You can retry at a later time. For further details see server logs.
331+
322332
| Neo.TransientError.Request.NoThreadsAvailable
323333
|
324334
There are no available threads to serve this request at the moment.

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3369,7 +3369,7 @@ Use `DATABASE *` without the parameter to revoke the privilege on all databases.
33693369
=====
33703370

33713371
[#_neo_clientnotification_security_authprovidernotdefined]
3372-
=== AuthProviderNotDefined
3372+
=== The auth provider is not defined
33733373

33743374
.Notification details
33753375
[cols="<1s,<4"]
@@ -3485,7 +3485,7 @@ If it is correct, make sure to add it as a known auth provider in one or both of
34853485

34863486

34873487
[#_neo_clientnotification_security_externalauthnotenabled]
3488-
=== ExternalAuthNotEnabled
3488+
=== External auth for user is not enabled
34893489

34903490
.Notification details
34913491
[cols="<1s,<4"]
@@ -3587,6 +3587,30 @@ Until enabled, the new external auth will be ignored, and current external auth
35873587
======
35883588
=====
35893589

3590+
[role=label--new-5.26]
3591+
=== Query uses an insecure protocol
3592+
3593+
.Notification details
3594+
[cols="<1s,<4"]
3595+
|===
3596+
|Neo4j code
3597+
m|Neo.ClientNotification.Statement.InsecureProtocol
3598+
|Title
3599+
a|Query uses an insecure protocol
3600+
|Description
3601+
a|The query uses an insecure protocol. Please consider using 'https' instead.
3602+
|Category
3603+
m|SECURITY
3604+
|GQLSTATUS code
3605+
m|01N72
3606+
|Status description
3607+
a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead.
3608+
|Classification
3609+
m|SECURITY
3610+
|SeverityLevel
3611+
m|WARNING
3612+
|===
3613+
35903614

35913615
[#_topology_notifications]
35923616
== `TOPOLOGY` notifications

0 commit comments

Comments
 (0)