Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

UPGRADE_NOT_APPROVED

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

UnsupportedErrorNot retryable
@ensforge/sdk

What happened

The upgrade target is not an approved implementation.

What to show users

TitleMessageAction
Upgrade not allowedThis upgrade has not been approved by ENS.

Retry safety

Retrying the same call fails the same way until the cause is fixed (retryable: false).

Actions that throw it

ActionWhen
registry.upgradewhen the target is not approved.
resolver.upgradewhen the resolver or target cannot be upgraded.

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

Catch it

Errors.hasCode("UPGRADE_NOT_APPROVED") narrows to this error. See Handle errors.

Was this page helpful?