Skip to content

Database

Write conflict

Someone else changed the same data at the same moment, or was still saving it and this request gave up waiting. Either way this request lost, and it is safe to send again unchanged.

HTTP 409WRITE_CONFLICT

In the response

Besides the standard members type, title, status, detail, instance, plus code and requestId:

Nothing else. This error carries no errors or meta.

Example response

HTTP 409 · application/problem+json
{
  "type": "https://smartpathshaala.com/problems/write-conflict",
  "title": "Write conflict",
  "status": 409,
  "detail": "<what went wrong this time>",
  "instance": "<the request path>",
  "code": "WRITE_CONFLICT",
  "requestId": "<also sent as X-Request-Id>"
}

Values in angle brackets vary per request. Quote the requestId when reporting an error; it is how the server’s log line is found.