409 Conflict means the request conflicts with the current state of the resource, so the server cannot apply it as it stands.
HTTP/1.1 409 ConflictCommon causes
- Creating something that already exists, such as a user with a taken email.
- Editing a resource that someone else changed in the meantime (an edit conflict).
- Version control style conflicts in APIs that track revisions.
How to fix it
- Fetch the current state, resolve the conflict and retry.
- For safe concurrent edits, send If-Match with the ETag you read: the server then answers 412 instead of overwriting.