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

NAME_EXPIRED

What NAME_EXPIRED means, why NameStateError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.

NameStateErrorNot retryable
@ensforge/sdk

What happened

The name has expired.

What to show users

TitleMessageAction
Name expiredThis name has expired.Renew it to continue.

Retry safety

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

Actions that throw it

ActionWhen
approval.setTokenwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
dns.setRecordswhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
name.reclaimwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
name.setManagerwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
name.setTtlwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
name.transferwhen the name cannot be sent, or its parent's namespace manages it outside ENS's registries.
record.setwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
registry.attachwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
resolver.createwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
resolver.linkwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
resolver.setwhen the name is not registered, or its parent's namespace manages it outside ENS's registries.
subname.createwhen the child exists or the parent is not registered, or its parent's namespace manages it outside ENS's registries.
subname.removewhen the child or parent does not exist, or its parent's namespace manages it outside ENS's registries.
subname.updatewhen the child or parent does not exist, or an emancipated child expired, or its parent's namespace manages it outside ENS's registries.
wrapper.setChildFuseswhen the name is not wrapped, or its parent's namespace manages it outside ENS's registries.
wrapper.setFuseswhen the name is not wrapped, or its parent's namespace manages it outside ENS's registries.
wrapper.unwrapwhen the name is not wrapped, or its parent's namespace manages it outside ENS's registries.
wrapper.wrapwhen the name cannot be wrapped, or its parent's namespace manages it outside ENS's registries.

Catch it

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

Was this page helpful?