Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
**** xref:errors/gql-errors/42N76.adoc[]
**** xref:errors/gql-errors/42N77.adoc[]
**** xref:errors/gql-errors/42N78.adoc[]
**** xref:errors/gql-errors/42N79.adoc[]
**** xref:errors/gql-errors/42N81.adoc[]
**** xref:errors/gql-errors/42N82.adoc[]
**** xref:errors/gql-errors/42N83.adoc[]
Expand Down
33 changes: 33 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42N79.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
:page-role: new-2025.11
= 42N79

== Status description
error: syntax error or access rule violation - invalid `USE` clause. The `USE` clause is not required for administration commands. Retry the query without the `USE` clause, and it will be routed automatically.

== Explanation

This error occurs when an administration command is prepended with a `USE` clause.

== Example scenario

For example, try to show all the databases with a `USE` clause in the query:

[source,cypher]
----
USE system
SHOW DATABASES
----

Error message will be:

[source]
----
error: syntax error or access rule violation - invalid `USE` clause. The `USE` clause is not required for administration commands. Retry the query without the `USE` clause, and it will be routed automatically.
----

ifndef::backend-pdf[]
[discrete.glossary]
== Glossary

include::partial$glossary.adoc[]
endif::[]
5 changes: 5 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,11 @@ Status description:: error: syntax error or access rule violation - missing hint

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.

[role=label--new-2025.11]
=== xref:errors/gql-errors/42N79.adoc[42N79]

Status description:: error: syntax error or access rule violation - invalid `USE` clause. The `USE` clause is not required for administration commands. Retry the query without the `USE` clause, and it will be routed automatically.

=== xref:errors/gql-errors/42N81.adoc[42N81]

Status description:: error: syntax error or access rule violation - missing request parameter. Expected `{ <<param>> }`, but got `{ <<paramList>> }`.
Expand Down