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

E107

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

Duplicate Schema Definition

Erroneous Code Example

This error occurs when you define the same node, edge, or vector type more than once in your schema.

N::User {
    name: String,
}

N::User {
    email: String,
}

Solution

Remove the duplicate definition or rename one of the types.

N::User {
    name: String,
    email: String,
}