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

Solution

Define the edge type Posted in your schema.
N::User {
    // fields
}

N::Post {
// fields
}

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