Skip to main content

Use of Undeclared Node or Vector Type in Schema

Erroneous Code Example

This error occurs when you reference a node or vector type in an edge definition before that type has been declared in the schema.

Solution

Declare the node or vector type in your schema before using it in an edge definition.