Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

E102

For the complete documentation index optimized for AI agents, see llms.txt.

Unknown Edge Type

Erroneous Code Example

This error occurs when you try to reference an edge type that is not defined in your schema.

QUERY getUsersPosts(id: ID) =>
    posts <- N<User>(id)::Out<Posted>
    RETURN posts
N::User {
    // fields
}

N::Post {
    // fields
}

Solution

Define the edge type Posted in your schema.

N::User {
    // fields
}

N::Post {
// fields
}

E::Posted {
    From: User,
    To: Post,
}