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

DURATION_TOO_SHORT

What DURATION_TOO_SHORT 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

The duration is shorter than the registrar's minimum.

What to show users

TitleMessageAction
Duration too shortThe registration period is shorter than the minimum.Choose a longer duration.

Retry safety

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

Actions that throw it

ActionWhen
registration.commitfor invalid input.
registration.getPricefor invalid input.
registration.registerfor invalid input.
registration.renewfor invalid input.

Catch it

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

Was this page helpful?