From e12ea1bb7a52e6bf19560c8e06bab69d6779816e Mon Sep 17 00:00:00 2001 From: Gregory Woods Date: Wed, 20 Aug 2025 10:40:19 +0100 Subject: [PATCH 1/3] Introduce 22NBD - Unsupported Struct --- modules/ROOT/content-nav.adoc | 1 + .../ROOT/pages/errors/gql-errors/22NBD.adoc | 21 +++++++++++++++++++ .../ROOT/pages/errors/gql-errors/index.adoc | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 modules/ROOT/pages/errors/gql-errors/22NBD.adoc diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index 8610e39a..6f06858b 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -155,6 +155,7 @@ **** xref:errors/gql-errors/22NB9.adoc[] **** xref:errors/gql-errors/22NBA.adoc[] **** xref:errors/gql-errors/22NBC.adoc[] +**** xref:errors/gql-errors/22NBD.adoc[] *** xref:errors/gql-errors/index.adoc#invalid-transaction-state[Invalid transaction state] **** xref:errors/gql-errors/25G02.adoc[] **** xref:errors/gql-errors/25N01.adoc[] diff --git a/modules/ROOT/pages/errors/gql-errors/22NBD.adoc b/modules/ROOT/pages/errors/gql-errors/22NBD.adoc new file mode 100644 index 00000000..1a2f5559 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/22NBD.adoc @@ -0,0 +1,21 @@ += 22NBD + +== Status description +error: data exception - unsupported struct tag. Unsupported struct tag: `{ <> }`. + +== Scenario + +This error will be observed when the server receives a struct tag that it +understands but is not part of the negotiated bolt protocol version. This +typically means the client driver has incorrectly added an incorrect struct tag. + +== Possible solution + +Ensure only valid struct tags are sent for the negotiated protocol version. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index fbfe1b1b..571cd8ce 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -629,6 +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 `{ <> }`. +=== xref:errors/gql-errors/22NBD.adoc[22NBD] + +Status description:: error: data exception - unsupported struct tag. Unsupported struct tag: 0x56. `{ <> }`. + [[invalid-transaction-state]] == Invalid transaction state From c3d876a98cf046ddd979f5dbd6289d5877d687d9 Mon Sep 17 00:00:00 2001 From: Greg Woods <42248895+gjmwoods@users.noreply.github.com> Date: Thu, 21 Aug 2025 13:48:23 +0100 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Natalia Ivakina <82437520+NataliaIvakina@users.noreply.github.com> --- modules/ROOT/pages/errors/gql-errors/22NBD.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors/22NBD.adoc b/modules/ROOT/pages/errors/gql-errors/22NBD.adoc index 1a2f5559..49cf5d13 100644 --- a/modules/ROOT/pages/errors/gql-errors/22NBD.adoc +++ b/modules/ROOT/pages/errors/gql-errors/22NBD.adoc @@ -5,9 +5,8 @@ error: data exception - unsupported struct tag. Unsupported struct tag: `{ < Date: Thu, 21 Aug 2025 14:01:00 +0100 Subject: [PATCH 3/3] Add version that the error was added in --- modules/ROOT/pages/errors/gql-errors/22NBD.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ROOT/pages/errors/gql-errors/22NBD.adoc b/modules/ROOT/pages/errors/gql-errors/22NBD.adoc index 49cf5d13..3e6b684a 100644 --- a/modules/ROOT/pages/errors/gql-errors/22NBD.adoc +++ b/modules/ROOT/pages/errors/gql-errors/22NBD.adoc @@ -1,3 +1,5 @@ +:page-role: new-2025.07 + = 22NBD == Status description