diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index c2213cdb..10a9b8b4 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -151,6 +151,7 @@ **** xref:errors/gql-errors/22NB7.adoc[] **** xref:errors/gql-errors/22NB8.adoc[] **** xref:errors/gql-errors/22NB9.adoc[] +**** xref:errors/gql-errors/22NBA.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/22NBA.adoc b/modules/ROOT/pages/errors/gql-errors/22NBA.adoc new file mode 100644 index 00000000..32995052 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/22NBA.adoc @@ -0,0 +1,27 @@ += 22NBA + +== Status description + +error: data exception - omitting mandatory field for property type constraints for vectors. Property type constraints for vectors need to define both coordinate type and dimension. + +== Example scenario + +For example, try to create a property type constraint for a vector, omitting the dimension: + +[source,cypher] +---- +CREATE CONSTRAINT myConstraint +FOR (n:Label) +REQUIRE n.prop IS :: VECTOR +---- + +You will receive an error with GQLSTATUS xref:errors/gql-errors/50N11.adoc[50N11]. +This error has a cause detailed in xref:errors/gql-errors/22N90.adoc[22N90], which also has a subsequent cause with GQLSTATUS 22NBA and the status description above. + + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] \ No newline at end of file