On this page

API

conflict

HTTP 409. Conflict

What it means

The request conflicts with the current state of the resource.

What to do

Fetch the resource again, reconcile and retry. detail says what conflicts.

Retrying

Do not retry the same request. Change it first.

Example

json
{
  "type": "https://reuseforge.com/docs/api/errors/conflict",
  "title": "Conflict",
  "status": 409,
  "detail": "The resource changed while you were working on it.",
  "instance": "/api/v1/items/acme/invoice-extractor",
  "code": "conflict",
  "request_id": "req_c4v8n2m6x1z3"
}

Every error is application/problem+json (RFC 9457). Branch on code, show detail to people and quote request_id when you ask for help. See the error catalogue.