Skip to content

Commit c37ab2f

Browse files
Add error code for operations that require implicit transaction (#385)
Co-authored-by: Reneta Popova <[email protected]>
1 parent 4169b46 commit c37ab2f

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
**** xref:errors/gql-errors/25N14.adoc[]
176176
**** xref:errors/gql-errors/25N15.adoc[]
177177
**** xref:errors/gql-errors/25N16.adoc[]
178+
**** xref:errors/gql-errors/25N17.adoc[]
178179
*** xref:errors/gql-errors/index.adoc#invalid-transaction-termination[Invalid transaction termination]
179180
**** xref:errors/gql-errors/2DN01.adoc[]
180181
**** xref:errors/gql-errors/2DN02.adoc[]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
:page-role: new-2025.09
2+
= 25N17
3+
4+
== Status description
5+
error: invalid transaction state - implicit transaction required. The attempted operation requires an implicit transaction.
6+
7+
== Scenario
8+
9+
This error occurs when running a query using the `CALL { ... } IN TRANSACTIONS` construct in an explicit transaction.
10+
11+
== Possible solution
12+
13+
Make sure you use the driver API to create an implicit transaction, or, if using Browser/Query, use the `:auto` command.
14+
15+
ifndef::backend-pdf[]
16+
[discrete.glossary]
17+
== Glossary
18+
19+
include::partial$glossary.adoc[]
20+
endif::[]

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,11 @@ Status description:: error: invalid transaction state - transaction termination
717717

718718
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>> }`
719719

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+
720725

721726
[[invalid-transaction-termination]]
722727
== Invalid transaction termination

0 commit comments

Comments
 (0)