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 - invalid `USE` clause. The `USE` clause is not required for Administration Commands. Retry the query omitting the USE clause and it will be routed automatically.
5
+
6
+
== Explanation
7
+
8
+
This error occurs when an administration commands is prepended with a `USE` clause.
9
+
10
+
== Example scenario
11
+
12
+
For example, try to show all the databases with a `USE` clause in the query:
13
+
14
+
[source,cypher]
15
+
----
16
+
USE system
17
+
SHOW DATABASES
18
+
----
19
+
20
+
Error message will be:
21
+
22
+
[source]
23
+
----
24
+
error: syntax error or access rule violation - invalid `USE` clause. The `USE` clause is not required for Administration Commands. Retry the query omitting the USE clause and it will be routed automatically.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/index.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1401,6 +1401,10 @@ Status description:: error: syntax error or access rule violation - missing hint
1401
1401
1402
1402
Status description:: error: syntax error or access rule violation - variable already bound. Node `{ <<variable>> }` has already been bound and cannot be modified by the `{ <<clause>> }` clause.
1403
1403
1404
+
=== xref:errors/gql-errors/42N79.adoc[42N79]
1405
+
1406
+
Status description:: error: syntax error or access rule violation - invalid USE clause. The USE clause is not required for Administration Commands. Retry the query omitting the USE clause and it will be routed automatically.
1407
+
1404
1408
=== xref:errors/gql-errors/42N81.adoc[42N81]
1405
1409
1406
1410
Status description:: error: syntax error or access rule violation - missing request parameter. Expected `{ <<param>> }`, but got `{ <<paramList>> }`.
0 commit comments