E201
For the complete documentation index optimized for AI agents, see llms.txt.
Item Type Not in Schema
Erroneous Code Example
This error occurs when you reference an item type in a query that is not defined in your schema.
QUERY getProduct(id: ID) =>
product <- N<Product>(id)
RETURN product
N::User {
name: String,
}
// Product is not defined
Solution
Define the item type in your schema before using it in queries.
N::User {
name: String,
}
N::Product {
name: String,
price: F64,
}