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

INVALID_RECORD_VALUE

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

InvalidInputErrorNot retryable
@ensforge/sdk

What happened

undefined is not a valid record value.

What to show users

TitleMessageAction
Invalid valueOne of the values is not valid.

Retry safety

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

Actions that throw it

ActionWhen
dns.claimfor invalid input.
dns.setRecordsfor invalid input, such as records that are not DNS wire format.
event.getfor invalid input.
indexer.getPermissionsfor invalid input.
indexer.lookupfor more than 1,000 inputs or none.
indexer.searchwhen query is empty.
migration.migratefor invalid input.
name.getLabelwhen labelhash is not 32 bytes.
name.setTtlfor invalid input.
permission.setRecordAccessfor invalid input or an unconfirmed widening.
plan.reconcilefor an unknown step or an unrelated transaction.
record.setfor invalid input.
registration.commitfor invalid input.
registration.getCommitmentStatuswhen the commitment is not 32 bytes.
registration.registerfor invalid input.
registry.upgradefor invalid input or an up-to-date registry.
resolver.createfor invalid input, or a salt whose resolver already exists.
resolver.linkfor invalid input or a target without records.
resolver.resolvefor an invalid name or calldata.
resolver.upgradefor invalid input or an up-to-date resolver.
role.getfor invalid input or targets.
role.grantfor invalid input or targets.
role.revokefor invalid input or targets.
subname.createfor invalid input.
subname.updatefor invalid input.
wrapper.setChildFusesfor invalid input or fuses.
wrapper.setFusesfor invalid input or fuses.
wrapper.wrapfor invalid input or fuses.
batchfor a request that cannot be batched.

Catch it

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

Was this page helpful?