You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: syntax error or access rule violation - not supported standalone call. `WHERE` is not supported in a standalone call. Use `CALL ... YIELD ... WHERE ... RETURN ...` instead.
6
+
7
+
== Explanation
8
+
A standalone call of a procedure does not support a `WHERE` clause, i.e., it does not support the filtering of the procedure result.
9
+
Either remove the `WHERE` clause or add a `RETURN` clause after the call to turn it into an in-query call.
10
+
11
+
== Example scenario
12
+
For example, trying to filter the result of the procedure `db.labels()` in a standalone call:
13
+
14
+
[source,cypher]
15
+
----
16
+
CALL db.labels() YIELD label WHERE label <> 'A'
17
+
----
18
+
19
+
An error will be thrown with GQLSTATUS 42NAB and the following status description:
20
+
21
+
[source]
22
+
----
23
+
error: syntax error or access rule violation - not supported standalone call. WHERE is not supported in a standalone call. Use `CALL ... YIELD ... WHERE ... RETURN ...` instead.
24
+
----
25
+
26
+
== Possible solutions
27
+
28
+
You can abstain from filtering to get a valid query:
29
+
30
+
[source,cypher]
31
+
----
32
+
CALL db.labels() YIELD label
33
+
----
34
+
35
+
However, if you still want to filter the result of the procedure `db.labels()`, you can add a `RETURN` clause:
36
+
37
+
.Query
38
+
[source, cypher]
39
+
----
40
+
CALL db.labels() YIELD label WHERE label <> 'A' RETURN label
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/52N11.adoc
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,24 @@
1
1
= 52N11
2
2
3
3
== Status description
4
-
error: procedure exception - generic topology procedure error. An unexpected error has occurred. Please refer to the server's debug log for more information.
4
+
error: procedure exception - generic topology procedure error. An unexpected error has occurred: `{ <<msg>> }`.
5
+
6
+
== Example scenario
7
+
8
+
For example, trying to set default number of primaries to 12:
9
+
10
+
[source,cypher]
11
+
----
12
+
CALL dbms.setDefaultAllocationNumbers(12,0);
13
+
----
14
+
15
+
You will receive an error with GQLSTATUS xref:errors/gql-errors/52N02.adoc[52N02].
16
+
This error has a cause detailed in xref:errors/gql-errors/52N11.adoc[52N11] and status description:
17
+
18
+
[source]
19
+
----
20
+
error: procedure exception - generic topology procedure error. An unexpected error has occurred: Number of primaries '12' may not exceed 11 and needs to be at least 1.
You will receive an error with GQLSTATUS xref:errors/gql-errors/52N02.adoc[52N02].
16
+
This error has a cause detailed in xref:errors/gql-errors/52N17.adoc[52N11] and status description:
17
+
18
+
[source]
19
+
----
20
+
error: quarantine change failed. Setting/removing the quarantine marker failed: Database 'neo4j' on server '0c000000-aa21-4ab4-b1c1-aed40bfcb875' is not in quarantine.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/index.adoc
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -717,6 +717,11 @@ Status description:: error: invalid transaction state - transaction termination
717
717
718
718
Status description:: error: invalid transaction state - transaction termination transient error. The transaction has been terminated. Retry your operation in a new transaction, and you should see a successful result. Reson: `{ <<msg>> }`
719
719
720
+
[role=label--new-2025.09]
721
+
=== xref:errors/gql-errors/25N17.adoc[25N17]
722
+
723
+
Status description:: error: invalid transaction state - implicit transaction required. The attempted operation requires an implicit transaction.
724
+
720
725
721
726
[[invalid-transaction-termination]]
722
727
== Invalid transaction termination
@@ -1508,6 +1513,11 @@ Status description:: error: syntax error or access rule violation - system datab
1508
1513
1509
1514
Status description:: error: syntax error or access rule violation - incorrectly formatted graph reference. Incorrectly formatted graph reference `{ <<input>> }`. Expected a single quoted or unquoted identifier. Separate name parts should not be quoted individually.
1510
1515
1516
+
[role=label--new-2025.11]
1517
+
=== xref:errors/gql-errors/42NAB.adoc[42NAB]
1518
+
1519
+
Status description:: error: syntax error or access rule violation - not supported standalone call. `WHERE` is not supported in a standalone call. Use `CALL ... YIELD ... WHERE ... RETURN ...` instead.
1520
+
1511
1521
[role=label--new-2025.11]
1512
1522
=== xref:errors/gql-errors/42NAC.adoc[42NAC]
1513
1523
@@ -1607,11 +1617,21 @@ Status description:: error: general processing exception - no such schema descri
1607
1617
1608
1618
Status description:: error: general processing exception - transaction retry aborted. Transaction retry aborted after `{ <<count>> }` attempts. Retry timed out with a maximum retry duration of `{ <<timeAmount>> }` `{ <<timeUnit>> }`.
1609
1619
1620
+
[role=label--new-2025.11]
1621
+
=== xref:errors/gql-errors/50N24.adoc[50N24]
1622
+
1623
+
Status description:: error: general processing exception - sharded properties transaction handling database error. Unexpected exception while getting transaction state.
1624
+
1625
+
[role=label--new-2025.11]
1626
+
=== xref:errors/gql-errors/50N25.adoc[50N25]
1627
+
1610
1628
[role=label--new-2025.11]
1611
1629
=== xref:errors/gql-errors/50N26.adoc[50N26]
1612
1630
1613
1631
Status description:: error: general processing exception - invalid backup metadata script. The backup metadata script contains invalid syntax.
1614
1632
1633
+
Status description:: error: general processing exception - sharded properties transaction handling client error. Unexpected exception while getting transaction state.
1634
+
1615
1635
=== xref:errors/gql-errors/50N42.adoc[50N42]
1616
1636
1617
1637
Status description:: error: general processing exception - unexpected error. Unexpected error has occurred. See debug log for details.
@@ -1977,7 +1997,7 @@ Status description:: error: procedure exception - invalid address key. An addres
1977
1997
1978
1998
=== xref:errors/gql-errors/52N11.adoc[52N11]
1979
1999
1980
-
Status description:: error: procedure exception - generic topology procedure error. An unexpected error has occurred. Please refer to the server's debug log for more information.
2000
+
Status description:: error: procedure exception - generic topology procedure error. An unexpected error has occurred: `{ <<msg>> }`
0 commit comments