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

RESOLVER_PROFILE_UNSUPPORTED

What RESOLVER_PROFILE_UNSUPPORTED means, why UnsupportedError throws it, what to show users and how to fix it in ensforge.

UnsupportedErrorNot retryable
@ensforge/sdk

What happened

The resolver does not support this record type.

What to show users

TitleMessageAction
Not supportedThis name's resolver does not support this record.Switch to a resolver that supports it.

How to fix

Point the name at a resolver that supports it, e.g. the public resolver.

Retry safety

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

Actions that throw it

ActionWhen
approval.setDelegatefor PermissionedResolvers.
dns.setRecordsfor resolvers without DNS records.
permission.setRecordAccessfor public keys on a PermissionedResolver.
record.getwith strict when the resolver supports none of the records.
record.getAddresswith strict when the resolver supports none of the records.
record.getAvatarwith strict when the resolver supports none of the records.
record.getContentHashwith strict when the resolver supports none of the records.
record.getTextwith strict when the resolver supports none of the records.
record.setfor records the resolver does not support (feature names them), a resolver that keeps its records off-chain or takes no writes, or resolver: "default" on an ENSv2 name.
resolver.createwithout ENSv2, or for records a PermissionedResolver cannot store.
resolver.getLinkwhen the resolver is not a PermissionedResolver.
resolver.linkwhen the resolver is not a PermissionedResolver.
resolver.resolvewhen the resolver does not answer the call.
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("RESOLVER_PROFILE_UNSUPPORTED") narrows to this error. See Handle errors.

Was this page helpful?