File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 3838**** xref:errors/gql-errors/22015.adoc[]
3939**** xref:errors/gql-errors/22G03.adoc[]
4040**** xref:errors/gql-errors/22G05.adoc[]
41+ **** xref:errors/gql-errors/22G0I.adoc[]
4142**** xref:errors/gql-errors/22N00.adoc[]
4243**** xref:errors/gql-errors/22N01.adoc[]
4344**** xref:errors/gql-errors/22N02.adoc[]
Original file line number Diff line number Diff line change 1+ :page-role: new-2025.11
2+ = 22G0I
3+
4+ == Status description
5+ error: data exception - invalid duration field. `{ <<field>> }` is not a valid duration field.
6+
7+ == Example scenario
8+
9+ For example, when executing the following invalid query:
10+
11+ [source,cypher]
12+ ----
13+ RETURN duration({dogYears: datetime()})
14+ ----
15+
16+ You will receive an error with GQLSTATUS 22G0I and status description:
17+
18+ [source]
19+ ----
20+ error: data exception - invalid duration field. `dogYears` is not a valid duration field.
21+ ----
22+
23+ ifndef::backend-pdf[]
24+ [discrete.glossary]
25+ == Glossary
26+
27+ include::partial$glossary.adoc[]
28+ endif::[]
Original file line number Diff line number Diff line change @@ -155,6 +155,11 @@ Status description:: error: data exception - invalid value type
155155
156156Status description:: error: data exception - invalid date, time, or datetime function field name
157157
158+ [role=label--new-2025.11]
159+ === xref:errors/gql-errors/22G0I.adoc[22G0I]
160+
161+ Status description:: error: data exception - invalid duration field. `{ <<field>> }` is not a valid duration field.
162+
158163=== xref:errors/gql-errors/22N00.adoc[22N00]
159164
160165Status description:: error: data exception - unsupported value. The provided value is unsupported and cannot be processed.
You can’t perform that action at this time.
0 commit comments