diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index 6f06858b..b9870559 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -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[] diff --git a/modules/ROOT/pages/errors/gql-errors/42I65.adoc b/modules/ROOT/pages/errors/gql-errors/42I65.adoc new file mode 100644 index 00000000..b1252bc0 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I65.adoc @@ -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 `{ <> }`. + +== 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::[] \ No newline at end of file diff --git a/modules/ROOT/pages/errors/gql-errors/42I66.adoc b/modules/ROOT/pages/errors/gql-errors/42I66.adoc new file mode 100644 index 00000000..1b3c712b --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I66.adoc @@ -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::[] \ No newline at end of file diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index 571cd8ce..346619ed 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -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 `{ <> }`. +[role=label--new-2025.07] === xref:errors/gql-errors/22NBD.adoc[22NBD] -Status description:: error: data exception - unsupported struct tag. Unsupported struct tag: 0x56. `{ <> }`. +Status description:: error: data exception - unsupported struct tag. Unsupported struct tag: `{ <> }`. [[invalid-transaction-state]] @@ -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. `{ <> }` currently not supported after `+NEXT+` `{ <> }`. +[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 `{ <> }`. + +[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]