> ## 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.

# E101

# Unknown Node Type

## Erroneous Code Example

This error occurs when you try to reference a node type that is not defined in your schema.

<CodeGroup>
  ```rust queries.hx theme={null}
  QUERY getUser(id: ID) =>
      user <- N<User>(id)
      RETURN user
  ```

  ```rust schema.hx theme={null}
  // no types defined
  ```
</CodeGroup>

## Solution

Define the node type `User` in your schema.

<CodeGroup>
  ```rust schema.hx theme={null}
  N::User {
      // fields
  }
  ```
</CodeGroup>
