# NAME_NOT_RENEWABLE

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

What NAME_NOT_RENEWABLE 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_RENEWABLE

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

## What happened [#what-happened]

The name cannot be renewed.

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

| Title | Message | Action |
| --- | --- | --- |
| Cannot renew | This name cannot be renewed. |  |

## 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 |
| --- | --- |
| [`registration.getRenewalPrice`](/docs/reference/sdk/registration/get-renewal-price) | when a name is neither registered nor in its grace period. |
| [`registration.renew`](/docs/reference/sdk/registration/renew) | when a name is neither registered nor in its grace period. |

## Catch it [#catch-it]

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