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.

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",
    "retryable": true
  },
  "fin": true
}

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.