# INVALID_EXPIRY

> For the complete documentation index, see [llms.txt](https://ensforge.com/llms.txt).

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

Source: https://ensforge.com/docs/reference/errors/INVALID_EXPIRY

<ErrorMeta errorClass="InvalidInputError" href="/docs/reference/errors/invalid-input-error" package="@ensforge/sdk" />

## What happened [#what-happened]

The expiry cannot be in the past or earlier than the current expiry.

## What to show users [#what-to-show-users]

| Title | Message | Action |
| --- | --- | --- |
| Invalid expiry | The new expiry date is not valid. |  |

## Retry safety [#retry-safety]

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

## Actions that throw it [#actions-that-throw-it]

| Action | When |
| --- | --- |
| [`subname.update`](/docs/reference/sdk/subname/update) | for invalid input. |
| [`wrapper.setChildFuses`](/docs/reference/sdk/wrapper/set-child-fuses) | for invalid input or fuses. |

## Catch it [#catch-it]

`Errors.hasCode("INVALID_EXPIRY")` narrows to this error. See [Handle errors](/docs/sdk/handle-errors).