# UPGRADE_NOT_APPROVED

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

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

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

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

## What happened [#what-happened]

The upgrade target is not an approved implementation.

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

| Title | Message | Action |
| --- | --- | --- |
| Upgrade not allowed | This upgrade has not been approved by ENS. |  |

## 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 |
| --- | --- |
| [`registry.upgrade`](/docs/reference/sdk/registry/upgrade) | when the target is not approved. |
| [`resolver.upgrade`](/docs/reference/sdk/resolver/upgrade) | when the resolver or target cannot be upgraded. |

Any write can fail with `UnsupportedError`: it is part of `Errors.WriteError`.

## Catch it [#catch-it]

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