hop_delegator: The hop is signed by someone other than its delegator
The signature is valid, but the signer is not this hop's delegator. A first hop is signed by the budget's root funder; a deeper hop by the parent stream's payee. The open is refused and nothing is allocated.
A human payment (POST /owner/v1/human/payments) signed by anyone but its delegator never reaches this check: it answers 409 pay_wrong_signer first.
What to do
- Have the right party sign: the root funder at depth 1, the parent stream's
serviceNodebelow it.
On the wire
HTTP 409, error type state_error.
A stream open (POST /owner/v1/budgets/{id}/streams) adds errorDetail only for a client that sends Dynamo-Error-Detail: 1; other clients get {"error": "state", "reason": "hop_delegator", "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_delegator"}, with no detail and no errorDetail.
The detailed body:
{
"error": "state",
"reason": "hop_delegator",
"detail": "…",
"errorDetail": {
"type": "state_error",
"code": "hop_delegator",
"message": "…",
"param": "delegation",
"doc_url": "…/errors/hop_delegator.md",
"fix": "a hop is signed by its own delegator: the root funder for a first hop, the parent stream's serviceNode below it"
}
}
See all error codes.