task_stream_bound: The stream funds a task

The stream is bound to an open task, so it is paid only through the task: the payee's delivery claims (paid on acceptance, explicit or by silence) and the payee's streamed units up to the quote's allowance. An owner tick, a meter under another requestRef, a reservation and a child open on that stream are refused; nothing is recorded.

What to do

On the wire

HTTP 409, error type state_error.

With Dynamo-Error-Detail: 1:

{
  "error": "state",
  "reason": "task_stream_bound",
  "detail": "…",
  "errorDetail": {
    "type": "state_error",
    "code": "task_stream_bound",
    "message": "…",
    "param": "task",
    "doc_url": "…/errors/task_stream_bound.md",
    "fix": "a stream that funds a task is paid only through the task (payee deliveries and streamed units); it takes no owner ticks and opens no child"
  }
}

Without the header the body has no errorDetail. A child open on the plugin wire (POST /plugin/v1/streams/{id}/children) under a task's stream answers 409 {"error": "child open refused (fail closed)", "reason": "task_stream_bound"}, never with errorDetail.

See the Task Allowance and all error codes.