# NAME_NOT_LOCKED

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

What NAME_NOT_LOCKED means, why MigrationError 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_LOCKED

<ErrorMeta errorClass="MigrationError" href="/docs/reference/errors/migration-error" package="@ensforge/sdk" />

## What happened [#what-happened]

The wrapped name is not locked, so it cannot use the locked migration route.

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

| Title | Message | Action |
| --- | --- | --- |
| Upgrade unavailable | This name cannot use this upgrade path. |  |

## 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 |
| --- | --- |
| [`migration.migrate`](/docs/reference/sdk/migration/migrate) | when a name cannot migrate as asked. |

## Catch it [#catch-it]

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