Skip to content

Operation result expired

FieldValue
Type URIhttps://echo.labstack.com/pro/problems/operation-result-expired
Codeoperation_result_expired
HTTP status409
HTTP statusEnglish title
409Conflict

The operation finished, but its stored response passed its retention period. The record and its state may still exist; only the response bytes are gone.

The original response cannot be replayed. Use operation_state and operation_ref to learn the outcome, or ask an operator. This answer is not proof that no effect happened. A new key is safe only when safe_new_key is true.

If your application installs a custom handler, the body may differ.

HTTP/1.1 409 Conflict
Content-Type: application/problem+json
Cache-Control: no-store
{
"code": "operation_result_expired",
"operation_ref": "AAAAAAAAAAAAAAAAAAAAAAAA",
"operation_state": "completed",
"safe_new_key": false,
"status": 409,
"title": "Conflict",
"type": "https://echo.labstack.com/pro/problems/operation-result-expired"
}

Provide an authorized application API for looking up the business result. Tell clients the Policy.ResultRetention window (24 hours by default). The retained key prevents rerunning work after the response expires.

  • type (string, always): The exact type URI above.
  • title (string, always): The HTTP status text.
  • status (integer, always): The HTTP status of the response.
  • code (string, always): The stable code above.
  • operation_ref (string, always): An opaque reference to the operation. It is set only after ReplayCheck allows the request, and is empty when no operation was found. Use it to look up the operation; it does not grant access.
  • operation_state (string, always): started, uncertain, completed or failed; empty when no operation was found.
  • safe_new_key (boolean, always): true only when the client may retry with a new key. It is always false when operation_ref and operation_state are empty.

Headers:

  • Cache-Control (always): no-store on every execution problem.

Notes:

  • Execution removes any Idempotent-Replayed header from problem responses.

See execution for operation state and replay rules.