Missing Item Type

Erroneous Code Example

This error occurs when an item type is required but not provided in your query. In this example, the User item type is required but not provided.
Query getUser(userId: ID) =>
    user <- N(userId)
    RETURN user

Solution

Specify the required item type within the < and > brackets after the traversal step in your query.
Query getUser(userId: ID) =>
    user <- N<User>(userId)
    RETURN user