# PRIMARY_NAME_MISMATCH

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

What PRIMARY_NAME_MISMATCH 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_MISMATCH

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

## What happened [#what-happened]

The primary name does not resolve back to this address.

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

| Title | Message | Action |
| --- | --- | --- |
| Primary name not verified | The primary name of this address does not point back to it. |  |

## How to fix [#how-to-fix]

Set the name's address record to this address, or set another 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. |
| [`primaryName.set`](/docs/reference/sdk/primary-name/set) | when the name does not resolve to the address. |
| [`primaryName.signClaim`](/docs/reference/sdk/primary-name/sign-claim) | when the name does not resolve to the address on a chain. |

## Catch it [#catch-it]

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