recourse_pending: The facts are not settled yet

The milestone is still inside its delivery deadline or acceptance window, or its task has not closed, so its refund has not happened yet. Nothing changed.

What to do

On the wire

HTTP 409, error type state_error. Without Dynamo-Error-Detail: 1 every client receives {"error": "state", "reason": "recourse_pending", "detail": "…"} with no errorDetail: the owner and payee recourse routes add it only when the request sends that header, on a single-tenant core and on the hosted tier alike.

With Dynamo-Error-Detail: 1:

{
  "error": "state",
  "reason": "recourse_pending",
  "detail": "…",
  "errorDetail": {
    "type": "state_error",
    "code": "recourse_pending",
    "message": "…",
    "param": "case",
    "doc_url": "…/errors/recourse_pending.md",
    "fix": "the facts are not settled yet (a milestone still inside its window, or a task not closed); resolve again once the task settles it"
  }
}

See recourse and all error codes.