hop_replay: The hop intent was already used
This signed hop intent (its nonce) was already admitted once, or it is held by a pending child adoption. A hop intent is single-use, so a copied signature cannot open a second stream.
What to do
- Sign a fresh hop intent with a new nonce (
hopNonce()), then open again.
On the wire
HTTP 409, error type state_error.
A stream open (POST /owner/v1/budgets/{id}/streams) or a human payment adds errorDetail only for a client that sends Dynamo-Error-Detail: 1; other clients get {"error": "state", "reason": "hop_replay", "detail": "…"}. The child adoption preparation (POST /owner/v1/streams/{id}/children/adopt-prepare) sends it to every client. The plugin wire's child open (POST /plugin/v1/streams/{id}/children) answers HTTP 409 {"error": "child open refused (fail closed)", "reason": "hop_replay"}, with no detail and no errorDetail.
The detailed body:
{
"error": "state",
"reason": "hop_replay",
"detail": "…",
"errorDetail": {
"type": "state_error",
"code": "hop_replay",
"message": "…",
"param": "delegation",
"doc_url": "…/errors/hop_replay.md",
"fix": "this hop intent was already used; sign a fresh one with a new nonce"
}
}
See all error codes.