# NAME_NOT_REGISTERED

> For the complete documentation index, see [llms.txt](https://ensforge.com/llms.txt).

What NAME_NOT_REGISTERED means, why NameStateError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.

Source: https://ensforge.com/docs/reference/errors/NAME_NOT_REGISTERED

<ErrorMeta errorClass="NameStateError" href="/docs/reference/errors/name-state-error" package="@ensforge/sdk" />

## What happened [#what-happened]

The name is not registered.

## What to show users [#what-to-show-users]

| Title | Message | Action |
| --- | --- | --- |
| Name not registered | This name is not registered. |  |

## Retry safety [#retry-safety]

Retrying the same call fails the same way until the cause is fixed (`retryable: false`).

## Actions that throw it [#actions-that-throw-it]

| Action | When |
| --- | --- |
| [`approval.setToken`](/docs/reference/sdk/approval/set-token) | when the name is not registered. |
| [`dns.setRecords`](/docs/reference/sdk/dns/set-records) | when the name is not registered. |
| [`name.reclaim`](/docs/reference/sdk/name/reclaim) | when the name is not registered. |
| [`name.setManager`](/docs/reference/sdk/name/set-manager) | when the name is not registered. |
| [`name.setTtl`](/docs/reference/sdk/name/set-ttl) | when the name is not registered. |
| [`name.transfer`](/docs/reference/sdk/name/transfer) | when the name cannot be sent. |
| [`record.set`](/docs/reference/sdk/record/set) | when the name is not registered. |
| [`registry.attach`](/docs/reference/sdk/registry/attach) | when the name is not registered. |
| [`resolver.create`](/docs/reference/sdk/resolver/create) | when the name is not registered. |
| [`resolver.link`](/docs/reference/sdk/resolver/link) | when the name is not registered. |
| [`resolver.set`](/docs/reference/sdk/resolver/set) | when the name is not registered. |
| [`subname.create`](/docs/reference/sdk/subname/create) | when the child exists or the parent is not registered. |
| [`subname.remove`](/docs/reference/sdk/subname/remove) | when the child or parent does not exist. |
| [`subname.update`](/docs/reference/sdk/subname/update) | when the child or parent does not exist, or an emancipated child expired. |
| [`wrapper.setChildFuses`](/docs/reference/sdk/wrapper/set-child-fuses) | when the name is not wrapped. |
| [`wrapper.setFuses`](/docs/reference/sdk/wrapper/set-fuses) | when the name is not wrapped. |
| [`wrapper.unwrap`](/docs/reference/sdk/wrapper/unwrap) | when the name is not wrapped. |
| [`wrapper.wrap`](/docs/reference/sdk/wrapper/wrap) | when the name cannot be wrapped. |

## Catch it [#catch-it]

`Errors.hasCode("NAME_NOT_REGISTERED")` narrows to this error. See [Handle errors](/docs/sdk/handle-errors).