Skip to content

Aborted ​

abortedHTTP 409Worth retrying

The operation was stopped by a conflict with another one running at the same time.

Why it happens ​

  • Two changes to the same data raced, and this one lost.
  • The runtime never sends this code itself, so one you receive came from a resolver or an adapter.

What to do ​

  • Send it again with the same idempotency key. If the first attempt did go through, the server answers with its original result.

What it looks like ​

Inside a batch, the operation's frame carries it:

json
{
  "id": 1,
  "error": {
    "code": "aborted",
    "message": "Concurrent update, try again"
  },
  "fin": true
}

retryable appears only where it differs from the code's default, which is the one at the top of this page.

When the whole request is refused over HTTP, the answer is a problem document:

json
{
  "type": "https://eddyboutros.github.io/rayfold/errors/aborted",
  "title": "aborted",
  "status": 409,
  "detail": "Concurrent update, try again",
  "code": "aborted"
}

See also all error types and the errors chapter of the specification.

Released under the Apache-2.0 license.