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

E646

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

Field Value is Empty

Erroneous Code Example

This error occurs when you provide an empty value for a field in an object remapping or insert operation.

QUERY getUser(id: ID) =>
    user <- N<User>(id)
    RETURN user::{ name: }
N::User {
    name: String,
    email: String,
}

Solution

Provide a valid value for the field. The value must be a literal, identifier, traversal, or object.

QUERY getUser(id: ID) =>
    user <- N<User>(id)
    RETURN user::{ name: user.name }
N::User {
    name: String,
    email: String,
}