Skip to content

Commit 88b9816

Browse files
renetapopovaLojjs
andcommitted
Add 25, 2D, and 42 codes (#191)
Co-authored-by: Louise Berglund <[email protected]>
1 parent 0c61ec7 commit 88b9816

File tree

1 file changed

+245
-32
lines changed

1 file changed

+245
-32
lines changed

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

Lines changed: 245 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
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>>
11-
* <<_data-exceptions, Data exceptions>>
12-
13-
[[_connection-exceptions]]
1410
== Connection exceptions
1511

1612
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.
@@ -99,123 +95,340 @@ Status description:: error: connection exception - alias chains are not permitte
9995

10096
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.
10197

102-
[[_data-exceptions]]
10398
== Data exceptions
10499

105100
Database exceptions occur when a client request contains the wrong format, types, or other unsupported input.
106101
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.
107102

108-
=== 22N00
103+
=== 22N00
109104

110105
Status description:: error: data exception - unsupported value. The provided value is unsupported and cannot be processed.
111106

112-
=== 22N01
107+
=== 22N01
113108

114109
Status description:: error: data exception - invalid type.
115110
Expected the value { $value } to be of type { $valueTypeList }, but was of type { $valueType }.
116111

117-
=== 22N02
112+
=== 22N02
118113

119114
Status description:: error: data exception - specified negative numeric value. Expected { $option } to be a positive number but found { $value } instead.
120115

121-
=== 22N03
116+
=== 22N03
122117

123118
Status description:: error: data exception - specified numeric value out of range. Expected { $component } to be of type { $valueType } and in the range { $lower } to { $upper } but found { $value }.
124119

125-
=== 22N04
120+
=== 22N04
126121

127122
Status description:: error: data exception - invalid input value. Invalid input { $input } for { $context }. Expected one of { $inputList }.
128123

129124
=== 22N05
130125

131126
Status description:: error: data exception - input failed validation. Invalid input { $input } for { $context }.
132127

133-
=== 22N06
128+
=== 22N06
134129

135130
Status description:: error: data exception - empty input string. Invalid input. { $option } needs to be specified.
136131

137-
=== 22N07
132+
=== 22N07
138133

139134
Status description:: error: data exception - invalid pre-parser option key. Invalid pre-parser option(s): { $optionList }.
140135

141-
=== 22N08
136+
=== 22N08
142137

143138
Status description:: error: data exception - invalid pre-parser combination. Invalid pre-parser option, cannot combine { $option1 } with { $option2 }.
144139

145-
=== 22N09
140+
=== 22N09
146141

147142
Status description:: error: data exception - conflicting pre-parser combination. Invalid pre-parser option, cannot specify multiple conflicting values for { $option }.
148143

149-
=== 22N10
144+
=== 22N10
150145

151146
Status description:: error: data exception - invalid pre-parser option value. Invalid pre-parser option, specified { $input } is not valid for option { $option }. Valid options are: { $optionList }.
152147

153-
=== 22N11
148+
=== 22N11
154149

155150
Status description:: error: data exception - invalid argument. Invalid argument: cannot process { $input }.
156151

157-
=== 22N12
152+
=== 22N12
158153

159154
Status description:: error: data exception - invalid date, time, or datetime format. Invalid argument: cannot process { $input }.
160155

161-
=== 22N13
156+
=== 22N13
162157

163158
Status description:: error: data exception - invalid time zone. Specified time zones must include a date component.
164159

165-
=== 22N14
160+
=== 22N14
166161

167162
Status description:: error: data exception - invalid temporal value combination. Cannot select both { $temporal } and { $component }.
168163

169-
=== 22N15
164+
=== 22N15
170165

171166
Status description:: error: data exception - invalid temporal component. Cannot read the specified { $component } component from { $temporal }.
172167

173-
=== 22N16
168+
=== 22N16
174169

175170
Status description:: error: data exception - invalid import value. Importing entity values to a graph with a USE clause is not supported. Attempted to import { $expr } to { $graph }.
176171

177-
// === 22N17
172+
// === 22N17
178173

179174
// Status description:: error: data exception - invalid date, time, or datetime function field name. Cannot read the specified { $component } component from { $temporal }.
180175

181-
=== 22N18
176+
=== 22N18
182177

183178
Status description:: error: data exception - incomplete spatial value. A { $crs } POINT must contain { $mapKeyList }.
184179

185-
=== 22N19
180+
=== 22N19
186181

187182
Status description:: error: data exception - invalid spatial value. A POINT must contain either 'x' and 'y', or 'latitude' and 'longitude'.
188183

189-
=== 22N20
184+
=== 22N20
190185

191186
Status description:: error: data exception - invalid spatial value dimensions. Cannot create POINT with { $dim1 }D coordinate reference system (CRS) and { $value } coordinates. Use the equivalent { $dim2 }D coordinate reference system instead.
192187

193-
=== 22N21
188+
=== 22N21
194189

195190
Status description:: error: data exception - unsupported coordinate reference system. Unsupported coordinate reference system (CRS): { $crs }.
196191

197-
=== 22N22
192+
=== 22N22
198193

199194
Status description:: error: data exception - invalid spatial value combination. Cannot specify both coordinate reference system (CRS) and spatial reference identifier (SRID).
200195

201-
=== 22N23
196+
=== 22N23
202197

203198
Status description:: error: data exception - invalid latitude value. Cannot create WGS84 POINT with invalid coordinate: { $coordinates }. The valid range for the latitude coordinate is [-90, 90].
204199

205-
=== 22N24
200+
=== 22N24
206201

207202
Status description:: error: data exception - invalid coordinate arguments. Cannot construct a { $valueType } from { $coordinates }.
208203

209-
=== 22N25
204+
=== 22N25
210205

211206
Status description:: error: data exception - invalid temporal arguments. Cannot construct a { $valueType } from { $temporal }.
212207

213-
=== 22N26
208+
=== 22N26
214209

215210
Status description:: error: data exception - unsupported rounding mode. Unknown rounding mode. Valid values are: CEILING, FLOOR, UP, DOWN, HALF_EVEN, HALF_UP, HALF_DOWN, UNNECESSARY.
216211

217-
=== 22N27
212+
=== 22N27
218213

219214
Status description:: error: data exception - invalid entity type. Invalid input { $input } for { $variable }. Expected to be one of { $valueTypeList }.
220215

221216

217+
== Invalid transaction state
218+
219+
Invalid transaction state errors occur when the transaction is in an invalid state, such as when the transaction is terminated or closed, or when there is a conflict between the transaction state and applied updates.
220+
221+
=== 25N01
222+
223+
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.
224+
225+
=== 25N02
226+
227+
Status description:: error: invalid transaction state - unable to complete transaction. Unable to complete transaction. See debug log for details.
228+
229+
=== 25N03
230+
231+
Status description:: error: invalid transaction state - concurrent access violation. Transaction is being used concurrently by another request.
232+
233+
=== 25N04
234+
235+
Status description:: error: invalid transaction state - specified transaction does not exist.
236+
Transaction { $transactionId } does not exist.
237+
238+
=== 25N05
239+
240+
Status description:: error: invalid transaction state - transaction terminated or closed. The transaction has been terminated or closed.
241+
242+
=== 25N06
243+
244+
Status description:: error: invalid transaction state - transaction start failed. Failed to start transaction. See debug log for details.
245+
246+
=== 25N07
247+
248+
Status description:: error: invalid transaction state - constituent transaction start failed. Failed to start constituent transaction. See debug log for details.
249+
250+
=== 25N08
251+
252+
Status description:: error: invalid transaction state - invalid transaction lease. The lease for the transaction is no longer valid.
253+
254+
=== 25N09
255+
256+
Status description:: error: invalid transaction state - internal transaction failure. The transaction failed due to an internal error.
257+
258+
=== 25N11
259+
260+
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.
261+
262+
=== 25N12
263+
264+
Status description:: error: invalid transaction state - index was dropped. Index { $idx } was dropped in this transaction and cannot be used.
265+
266+
=== 25N13
267+
268+
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.
269+
270+
== Invalid transaction termination
271+
272+
Invalid transaction termination errors occur when the transaction termination fails, such as when the transaction or constituent transaction fails to commit, or when the transaction termination fails to apply or append the transaction.
273+
274+
=== 2DN01
275+
276+
Status description:: error: invalid transaction termination - commit failed. Failed to commit transaction. See debug log for details.
277+
278+
=== 2DN02
279+
280+
Status description:: error: invalid transaction termination - constituent commit failed. Failed to commit constituent transaction. See debug log for details.
281+
282+
=== 2DN03
283+
284+
Status description:: error: invalid transaction termination - transaction termination failed. Failed to terminate transaction. See debug log for details.
285+
286+
=== 2DN04
287+
288+
Status description:: error: invalid transaction termination - constituent transaction termination failed. Failed to terminate constituent transaction. See debug log for details.
289+
290+
=== 2DN05
291+
292+
Status description:: error: invalid transaction termination - failed to apply transaction. There was an error on applying the transaction. See logs for more information.
293+
294+
=== 2DN06
295+
296+
Status description:: error: invalid transaction termination - failed to append transaction. There was an error on appending the transaction. See logs for more information.
297+
298+
=== 2DN07
299+
300+
Status description:: error: invalid transaction termination - inner transactions still open. Unable to commit transaction because it still have non-closed inner transactions.
301+
302+
[[transaction-rollback]]
303+
== Transaction rollback
304+
305+
Transaction rollback errors occur when there is a failure in a transaction or a constituent transaction rollback.
306+
307+
=== 40N01
308+
309+
Status description:: error: transaction rollback - rollback failed. Failed to rollback transaction. See debug log for details.
310+
311+
=== 40N02
312+
313+
Status description:: error: transaction rollback - constituent rollback failed. Failed to rollback constituent transaction. See debug log for details.
314+
315+
[[syntax-error-access-rule-violation]]
316+
== Syntax error or access rule violation
317+
318+
Syntax error or access rule violation errors occur when a Cypher query contains invalid syntax or when a client request violates the access rules, such as when a query tries to access a database without enough privileges, etc.
319+
320+
=== 42I50
321+
322+
Status description:: error: syntax error or access rule violation - token name too long. Invalid input { $input }... A { $tokenType } name cannot be longer than { $maxTokenLength }.
323+
324+
=== 42N01
325+
326+
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.
327+
328+
=== 42N02
329+
330+
Status description:: error: syntax error or access rule violation - writing in read access mode. Writing in read access mode not allowed.
331+
332+
=== 42N03
333+
334+
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.
335+
336+
=== 42N04
337+
338+
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.
339+
340+
=== 42N05
341+
342+
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.
343+
344+
=== 42N06
345+
346+
Status description:: error: syntax error or access rule violation - unsupported action on composite database. { $action } is not supported on composite databases.
347+
348+
=== 42N07
349+
350+
Status description:: error: syntax error or access rule violation - variable shadowing. The variable { $variable } is shadowing a variable with the same name from the outer scope and needs to be renamed.
351+
352+
=== 42N08
353+
354+
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.
355+
356+
=== 42N09
357+
358+
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.
359+
360+
=== 42N10
361+
362+
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.
363+
364+
=== 42N11
365+
366+
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.
367+
368+
=== 42N12
369+
370+
Status description:: error: syntax error or access rule violation - user already exists. A user with the name { $user } already exists.
371+
372+
=== 42N13
373+
374+
Status description:: error: syntax error or access rule violation - role already exists. A role with the name { $role } already exists.
375+
376+
=== 42N14
377+
378+
Status description:: error: syntax error or access rule violation - invalid use of command. { $clause } cannot be used together with { $cmd }.
379+
380+
=== 42N15
381+
382+
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.
383+
384+
=== 42N16
385+
386+
Status description:: error: syntax error or access rule violation - unsupported index or constraint. Only single property { $idxType } are supported.
387+
388+
=== 42N17
389+
390+
Status description:: error: syntax error or access rule violation - unsupported request. { $input } is not allowed on the system database.
391+
392+
=== 42N49
393+
394+
Status description:: error: syntax error or access rule violation - unsupported normal form. Unknown Normal Form: { $input }.
395+
396+
=== 42N75
397+
398+
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.
399+
400+
=== 42N83
401+
402+
Status description:: error: syntax error or access rule violation - impersonation disallowed while password change required. Cannot impersonate a user while password change required.
403+
404+
=== 42N84
405+
406+
Status description:: error: syntax error or access rule violation - TERMINATE TRANSACTION misses YIELD clause. WHERE clause without YIELD clause. Use 'TERMINATE TRANSACTION ... YIELD ... WHERE ...'.
407+
408+
=== 42N85
409+
410+
Status description:: error: syntax error or access rule violation - cannot specify both allowed and denied databases. Allowed and denied database options are mutually exclusive.
411+
412+
=== 42N88
413+
414+
Status description:: error: syntax error or access rule violation - cannot grant privilege. Permission cannot be granted for 'REMOVE IMMUTABLE PRIVILEGE'.
415+
416+
=== 42N89
417+
418+
Status description:: error: syntax error or access rule violation - invalid driver settings map. Failed evaluating the given driver settings. { $cause }
419+
420+
=== 42N90
421+
422+
Status description:: error: syntax error or access rule violation - cannot alter immutable composite database. Composite databases cannot be altered (database: { $db }).
423+
424+
=== 42NFD
425+
426+
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.
427+
428+
=== 42NFE
429+
430+
Status description:: error: syntax error or access rule violation - auth info expired. Authentication and/or authorization info expired.
431+
432+
=== 42NFF
433+
434+
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)