Missing From ID

Erroneous Code Example

This error occurs when you try to create an edge without specifying the source node ID. In this example, the AddE step is used without specifying the From parameter.
Query addEdge(to: ID) =>
    AddE<Follows>::To(to)

Solution

Provide both ‘from’ and ‘to’ node IDs when creating edges.
Query addEdge(from: ID, to: ID) =>
    AddE<Follows>::From(from)::To(to)