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 pattern character. An invalid character is used in the pattern. Verify that all characters are supported by `{ <<valueType>> }`.
6
+
7
+
== Example scenario
8
+
9
+
For example, when trying to format using a year character on a time-only type:
10
+
11
+
[source,cypher]
12
+
----
13
+
RETURN format(time(), "yyyy") AS formatted
14
+
----
15
+
16
+
You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001].
17
+
This error has a cause detailed in xref:errors/gql-errors/42I65.adoc[42I65] and status description:
18
+
19
+
20
+
[source]
21
+
----
22
+
error: syntax error or access rule violation - invalid pattern character. An invalid character is used in the pattern. Verify that all characters are supported by `ZONED TIME`.
error: syntax error or access rule violation - pattern parsing failed. Pattern parsing failed. Make sure that an even number of escapes are used in the pattern.
6
+
7
+
== Example scenario
8
+
9
+
For example, when formatting a duration:
10
+
11
+
[source,cypher]
12
+
----
13
+
RETURN format(duration("P1Y"), "y 'year")
14
+
----
15
+
16
+
You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001].
17
+
This error has a cause detailed in xref:errors/gql-errors/42I66.adoc[42I66] and status description:
18
+
19
+
20
+
[source]
21
+
----
22
+
error: syntax error or access rule violation - pattern parsing failed. Pattern parsing failed. Make sure that an even number of escapes are used in the pattern.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/index.adoc
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -629,9 +629,10 @@ Status description:: error: data exception - omitting mandatory field for proper
629
629
630
630
Status description:: error: data exception - index belongs to constraint. Index belongs to constraint `{ <<constrDescrOrName>> }`.
631
631
632
+
[role=label--new-2025.07]
632
633
=== xref:errors/gql-errors/22NBD.adoc[22NBD]
633
634
634
-
Status description:: error: data exception - unsupported struct tag. Unsupported struct tag: 0x56. `{ <<value>> }`.
635
+
Status description:: error: data exception - unsupported struct tag. Unsupported struct tag: `{ <<value>> }`.
635
636
636
637
637
638
[[invalid-transaction-state]]
@@ -1056,6 +1057,16 @@ Status description:: error: syntax error or access rule violation - wrong subcla
1056
1057
1057
1058
Status description:: error: syntax error or access rule violation - unsupported operation. `{ <<msg>> }` currently not supported after `+NEXT+` `{ <<context>> }`.
1058
1059
1060
+
[role=label--new-2025.09]
1061
+
=== xref:errors/gql-errors/42I65.adoc[42I65]
1062
+
1063
+
Status description:: error: syntax error or access rule violation - invalid pattern character. An invalid character is used in the pattern. Verify that all characters are supported by `{ <<valueType>> }`.
1064
+
1065
+
[role=label--new-2025.09]
1066
+
=== xref:errors/gql-errors/42I66.adoc[42I66]
1067
+
1068
+
Status description:: error: syntax error or access rule violation - pattern parsing failed. Pattern parsing failed. Make sure that an even number of escapes are used in the pattern.
0 commit comments