Skip to content

Commit cf8ebb1

Browse files
committed
Add 25, 2D, and 42 codes
1 parent de4096c commit cf8ebb1

File tree

1 file changed

+214
-4
lines changed

1 file changed

+214
-4
lines changed

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

Lines changed: 214 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
The following page provides an overview of all GQLSTATUS server error codes in Neo4j.
88
All errors in Neo4j have severity level `ERROR`.
99

10-
* <<_connection-exceptions, Connection exceptions>>
1110

12-
13-
[[_connection-exceptions]]
1411
== Connection exceptions
1512

1613
Connection exceptions occur when the client is unable to connect to the server for various reasons such as network issues, server-side routing being disabled, or the database being unavailable, etc.
@@ -97,4 +94,217 @@ Status description:: error: connection exception - alias chains are not permitte
9794

9895
=== 08N15
9996

100-
Status description:: error: connection exception - no such routing policy. Policy definition of the routing policy { $routingPolicy } could not be found. Verify that the spelling is correct.
97+
Status description:: error: connection exception - no such routing policy. Policy definition of the routing policy { $routingPolicy } could not be found. Verify that the spelling is correct.
98+
99+
== Invalid transaction state
100+
101+
Invalid transaction state errors occur when the client attempts to perform an operation that is not allowed in the current transaction state.
102+
103+
=== 25N01
104+
105+
Status description:: error: invalid transaction state - invalid combination of statement types.Failed to execute the query { $query } due to conflicting statement types (read query, write query, schema modification, or administration command). To execute queries in the same transaction, they must be either of the same type, or be a combination of schema modifications and read commands.
106+
107+
=== 25N02
108+
109+
Status description:: error: invalid transaction state - unable to complete transaction. Unable to complete transaction. See debug log for details.
110+
111+
=== 25N03
112+
113+
Status description:: error: invalid transaction state - concurrent access violation. Transaction is being used concurrently by another request.
114+
115+
=== 25N04
116+
117+
Status description:: error: invalid transaction state - specified transaction does not exist.
118+
Transaction { $transactionId } does not exist.
119+
120+
=== 25N05
121+
122+
Status description:: error: invalid transaction state - transaction terminated or closed. The transaction has been terminated or closed.
123+
124+
=== 25N06
125+
126+
Status description:: error: invalid transaction state - transaction start failed. Failed to start transaction. See debug log for details.
127+
128+
=== 25N07
129+
130+
Status description:: error: invalid transaction state - constituent transaction start failed. Failed to start constituent transaction. See debug log for details.
131+
132+
=== 25N08
133+
134+
Status description:: error: invalid transaction state - invalid transaction lease. The lease for the transaction is no longer valid.
135+
136+
=== 25N09
137+
138+
Status description:: error: invalid transaction state - internal transaction failure. The transaction failed due to an internal error.
139+
140+
=== 25N11
141+
142+
Status description:: error: invalid transaction state - conflicting transaction state. There was a conflict detected between the transaction state and applied updates. Please retry the transaction.
143+
144+
=== 25N12
145+
146+
Status description:: error: invalid transaction state - index was dropped. Index { $idx } was dropped in this transaction and cannot be used.
147+
148+
=== 25N13
149+
150+
Status description:: error: invalid transaction state - cannot access entity after removal. A { $entityType } was accessed after being deleted in this transaction. Verify the transaction statements.
151+
152+
== Invalid transaction termination
153+
154+
=== 2DN01
155+
156+
Status description:: error: invalid transaction termination - commit failed. Failed to commit transaction. See debug log for details.
157+
158+
=== 2DN02
159+
160+
Status description:: error: invalid transaction termination - constituent commit failed. Failed to commit constituent transaction. See debug log for details.
161+
162+
=== 2DN03
163+
164+
Status description:: error: invalid transaction termination - transaction termination failed. Failed to terminate transaction. See debug log for details.
165+
166+
=== 2DN04
167+
168+
Status description:: error: invalid transaction termination - constituent transaction termination failed. Failed to terminate constituent transaction. See debug log for details.
169+
170+
=== 2DN05
171+
172+
Status description:: error: invalid transaction termination - failed to apply transaction. There was an error on applying the transaction. See logs for more information.
173+
174+
=== 2DN06
175+
176+
Status description:: error: invalid transaction termination - failed to append transaction. There was an error on appending the transaction. See logs for more information.
177+
178+
=== 2DN07
179+
180+
Status description:: error: invalid transaction termination - inner transactions still open. Unable to commit transaction because it still have non-closed inner transactions.
181+
182+
[[transaction-rollback]]
183+
== Transaction rollback
184+
185+
=== 40N01
186+
187+
Status description:: error: transaction rollback - rollback failed. Failed to rollback transaction. See debug log for details.
188+
189+
=== 40N02
190+
191+
Status description:: error: transaction rollback - constituent rollback failed. Failed to rollback constituent transaction. See debug log for details.
192+
193+
[[syntax-error-access-rule-violation]]
194+
== Syntax error or access rule violation
195+
196+
=== 42N01
197+
198+
Status description:: error: syntax error or access rule violation - no such constituent graph exists in composite database. The constituent graph { $graph } was not found in the in composite database { $db }. Verify that the spelling is correct.
199+
200+
=== 42N02
201+
202+
Status description:: error: syntax error or access rule violation - writing in read access mode. Writing in read access mode not allowed.
203+
204+
=== 42N03
205+
206+
Status description:: error: syntax error or access rule violation - writing to multiple graphs. Writing to multiple graphs in the same transaction is not allowed. Use CALL IN TRANSACTION or create separate transactions in your application.
207+
208+
=== 42N04
209+
210+
Status description:: error: syntax error or access rule violation - unsupported access of composite database. Failed to access database identified by { $db1 } while connected to session database { $db2 }. Connect to { $db3 } directly.
211+
212+
=== 42N05
213+
214+
Status description:: error: syntax error or access rule violation - unsupported access of standard database. Failed to access database identified by { $db1 } while connected to composite session database { $db2 }. Connect to { $db3 } directly or create an alias in the composite database.
215+
216+
=== 42N06
217+
218+
Status description:: error: syntax error or access rule violation - unsupported action on composite database. { $action } is not supported on composite databases.
219+
220+
=== 42N07
221+
222+
Status description:: error: syntax error or access rule violation - variable already defined. The variable { $var } is shadowing a variable with the same name from the outer scope and needs to be renamed.
223+
224+
=== 42N08
225+
226+
Status description:: error: syntax error or access rule violation - no such procedure or function. The procedure or function { $procFun } was not registered for this database instance. Verify that the spelling is correct.
227+
228+
=== 42N09
229+
230+
Status description:: error: syntax error or access rule violation - no such user. A user with the name { $user } was not found. Verify that the spelling is correct.
231+
232+
=== 42N10
233+
234+
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.
235+
236+
=== 42N11
237+
238+
Status description:: error: syntax error or access rule violation - database or alias already exists. A [composite] database or alias with the name { $db } already exists.
239+
240+
=== 42N12
241+
242+
Status description:: error: syntax error or access rule violation - user already exists. A user with the name { $user } already exists.
243+
244+
=== 42N13
245+
246+
Status description:: error: syntax error or access rule violation - role already exists. A role with the name { $role } already exists.
247+
248+
=== 42N14
249+
250+
Status description:: error: syntax error or access rule violation - invalid use of command. { $clause } cannot be used together with `$cmd`.
251+
252+
=== 42N15
253+
254+
Status description:: error: syntax error or access rule violation - invalid use of reserved keyword. { $syntax } is a reserved keyword and cannot be used in this place.
255+
256+
=== 42N16
257+
258+
Status description:: error: syntax error or access rule violation - unsupported index or constraint. Only single property { $idxType } are supported.
259+
260+
=== 42N17
261+
262+
Status description:: error: syntax error or access rule violation - unsupported request. { $input } is not allowed on the system database.
263+
264+
=== 42N49
265+
266+
Status description:: error: syntax error or access rule violation - unsupported normal form. Unknown Normal Form: { $input }.
267+
268+
=== 42N75
269+
270+
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.
271+
272+
=== 42N83
273+
274+
Status description:: error: syntax error or access rule violation - impersonation disallowed while password change required. Cannot impersonate a user while password change required.
275+
276+
=== 42N84
277+
278+
Status description:: error: syntax error or access rule violation - TERMINATE TRANSACTION misses YIELD clause. WHERE clause without YIELD clause. Use 'TERMINATE TRANSACTION ... YIELD ... WHERE ...'.
279+
280+
=== 42N85
281+
282+
Status description:: error: syntax error or access rule violation - cannot specify both allowed and denied databases. Allowed and denied database options are mutually exclusive.
283+
284+
=== 42N88
285+
286+
Status description:: error: syntax error or access rule violation - cannot grant privilege. Permission cannot be granted for 'REMOVE IMMUTABLE PRIVILEGE'.
287+
288+
=== 42N89
289+
290+
Status description:: error: syntax error or access rule violation - invalid driver settings map. Failed evaluating the given driver settings. { $cause }
291+
292+
=== 42N90
293+
294+
Status description:: error: syntax error or access rule violation - cannot alter immutable composite database. Composite databases cannot be altered (database: { $db }).
295+
296+
=== 42I50
297+
298+
Status description:: error: syntax error or access rule violation - token name too long. Invalid input { $input }. A { $tokenType } name cannot be longer than { $maxTokenLength }.
299+
300+
=== 42NFD
301+
302+
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.
303+
304+
=== 42NFE
305+
306+
Status description:: error: syntax error or access rule violation - auth info expired. Authentication and/or authorization info expired.
307+
308+
=== 42NFF
309+
310+
Status description:: error: syntax error or access rule violation - permission/access denied. Access denied, see the security logs for details.

0 commit comments

Comments
 (0)