E1804 — Invalid target key epoch
What happened
Invalid target key epoch. This is the receipt’swhat text, produced by the host-call result HostError::InvalidTargetKeyEpoch.
Why it happened
The node rejected the operation withE1804 (category watchtower, Watchtower). The receipt’s why field carries the specific cause and context carries structured details, when the emitter attaches any.
The normative rule is in CIP-7.
How to fix
Request the current or a future key epoch.Receipt example
All Error Codes
View the complete error code reference