PROOF_STALE
What PROOF_STALE means, why DnsError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.
DnsErrorNot retryable
@ensforge/sdk
What happened
The DNSSEC proof is older than the one on-chain.
What to show users
| Title | Message | Action |
|---|---|---|
| Out of date | The DNS data changed. | Try again. |
How to fix
Fetch a fresh proof and retry.
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
dns.claim | when the name cannot be proven. |
Catch it
Errors.hasCode("PROOF_STALE") narrows to this error. See Handle errors.
Was this page helpful?