# PRIMARY_NAME_NOT_SET

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

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

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

<ErrorMeta errorClass="NotFoundError" href="/docs/reference/errors/not-found-error" package="@ensforge/sdk" />

## What happened [#what-happened]

The address has no primary name.

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

| Title | Message | Action |
| --- | --- | --- |
| No primary name | This address has no primary name. |  |

## 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 |
| --- | --- |
| [`primaryName.get`](/docs/reference/sdk/primary-name/get) | with `strict` when there is no valid primary name. |

## Catch it [#catch-it]

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