> ## Documentation Index
> Fetch the complete documentation index at: https://helix-digitalocean.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# E611

# Missing To ID

## Erroneous Code Example

This error occurs when you try to create an edge without specifying the target node ID.

In this example, the `AddE` step is used without specifying the `To` parameter.

<CodeGroup>
  ```rust queries.hx theme={null}
  Query addEdge(from: ID, to: ID) =>
      AddE<Follows>::From(from)
  ```
</CodeGroup>

## Solution

Provide both 'from' and 'to' node IDs when creating edges.

<CodeGroup>
  ```rust queries.hx theme={null}
  Query addEdge(from: ID, to: ID) =>
      AddE<Follows>::From(from)::To(to)
  ```
</CodeGroup>
