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
2 changes: 2 additions & 0 deletions modules/ROOT/content-nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@
**** xref:errors/gql-errors/42I62.adoc[]
**** xref:errors/gql-errors/42I63.adoc[]
**** xref:errors/gql-errors/42I64.adoc[]
**** xref:errors/gql-errors/42I65.adoc[]
**** xref:errors/gql-errors/42I66.adoc[]
**** xref:errors/gql-errors/42N00.adoc[]
**** xref:errors/gql-errors/42N01.adoc[]
**** xref:errors/gql-errors/42N02.adoc[]
Expand Down
31 changes: 31 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42I65.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
:page-role: new-2025.09
= 42I65

== 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>> }`.

== Example scenario

For example, when trying to format using a year character on a time-only type:

[source,cypher]
----
RETURN format(time(), "yyyy") AS formatted
----

You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001].
This error has a cause detailed in xref:errors/gql-errors/42I65.adoc[42I65] and status description:


[source]
----
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`.
----


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

include::partial$glossary.adoc[]
endif::[]
31 changes: 31 additions & 0 deletions modules/ROOT/pages/errors/gql-errors/42I66.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
:page-role: new-2025.09
= 42I66

== 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.

== Example scenario

For example, when formatting a duration:

[source,cypher]
----
RETURN format(duration("P1Y"), "y 'year")
----

You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001].
This error has a cause detailed in xref:errors/gql-errors/42I66.adoc[42I66] and status description:


[source]
----
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.
----


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

include::partial$glossary.adoc[]
endif::[]
13 changes: 12 additions & 1 deletion modules/ROOT/pages/errors/gql-errors/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,10 @@ Status description:: error: data exception - omitting mandatory field for proper

Status description:: error: data exception - index belongs to constraint. Index belongs to constraint `{ <<constrDescrOrName>> }`.

[role=label--new-2025.07]
=== xref:errors/gql-errors/22NBD.adoc[22NBD]

Status description:: error: data exception - unsupported struct tag. Unsupported struct tag: 0x56. `{ <<value>> }`.
Status description:: error: data exception - unsupported struct tag. Unsupported struct tag: `{ <<value>> }`.


[[invalid-transaction-state]]
Expand Down Expand Up @@ -1056,6 +1057,16 @@ Status description:: error: syntax error or access rule violation - wrong subcla

Status description:: error: syntax error or access rule violation - unsupported operation. `{ <<msg>> }` currently not supported after `+NEXT+` `{ <<context>> }`.

[role=label--new-2025.09]
=== xref:errors/gql-errors/42I65.adoc[42I65]

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>> }`.

[role=label--new-2025.09]
=== xref:errors/gql-errors/42I66.adoc[42I66]

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.

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

Expand Down