Skip to content

Commit 932fe14

Browse files
Updated 42I68
1 parent 7ca9385 commit 932fe14

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

modules/ROOT/pages/errors/gql-errors/42I68.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
= 42I68
33

44
== Status description
5-
error: syntax error or access rule violation - ambiguous pattern field. The pattern contains pattern elements that refer to the same pattern fields. Make sure that the pattern is non-ambiguous.
5+
error: syntax error or access rule violation - mismatched pattern. Pattern, `{ <<input1>> }`, does not match input, `{ <<input2>> }`. Verify that the pattern is valid for constructing `{ <<valueType>> }`.
66

77
== Example scenario
88

99
For example, when parsing a duration string value:
1010

1111
[source,cypher]
1212
----
13-
RETURN duration("5 hours 12 minutes 15 minutes", "h 'hours' m 'minutes' m 'minutes'"
13+
RETURN duration("5 hours 12 minutes 15 seconds", "h 'hours' m 'minutes'") AS d
1414
----
1515

1616
You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001].
@@ -19,7 +19,7 @@ This error has a cause detailed in xref:errors/gql-errors/42I68.adoc[42I68] and
1919

2020
[source]
2121
----
22-
error: syntax error or access rule violation - ambiguous pattern field. The pattern contains pattern elements that refer to the same pattern fields. Make sure that the pattern is non-ambiguous.
22+
error: syntax error or access rule violation - mismatched pattern. Pattern, `"h 'hours' m 'minutes'"`, does not match input, `"5 hours 12 minutes 15 seconds"`. Verify that the pattern is valid for constructing `DURATION`.
2323
----
2424

2525
ifndef::backend-pdf[]

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,8 @@ Status description:: error: syntax error or access rule violation - unsupported
10901090
[role=label--new-2025.09]
10911091
=== xref:errors/gql-errors/42I68.adoc[42I68]
10921092

1093-
Status description:: error: syntax error or access rule violation - ambiguous pattern field. The pattern contains pattern elements that refer to the same pattern fields. Make sure that the pattern is non-ambiguous.
1093+
1094+
Status description:: error: syntax error or access rule violation - mismatched pattern. Pattern, `{ <<input1>> }`, does not match input, `{ <<input2>> }`. Verify that the pattern is valid for constructing `{ <<valueType>> }`.
10941095

10951096
[role=label--changed-2025.03]
10961097
=== xref:errors/gql-errors/42N00.adoc[42N00]

0 commit comments

Comments
 (0)