offer_lifetime: The offer or quote lives outside its bound

From issuedAt to expiresAt, an addressed offer or quote lives 60 seconds to 30 days and a standing one (standing: true) 60 seconds to 7 days. Nothing is opened or funded.

What to do

On the wire

HTTP 409, error type state_error.

With Dynamo-Error-Detail: 1:

{
  "error": "state",
  "reason": "offer_lifetime",
  "detail": "…",
  "errorDetail": {
    "type": "state_error",
    "code": "offer_lifetime",
    "message": "…",
    "param": "…",
    "doc_url": "…/errors/offer_lifetime.md",
    "fix": "…"
  }
}

Without Dynamo-Error-Detail: 1 the same body with no errorDetail. A task (POST /owner/v1/tasks) answers the same code in its task_* refusal body.

See all error codes.