What is the purpose of a 409 Conflict, and in what scenario would you return it?
Last updated
409 Conflictmeans the request is well-formed but clashes with the resource's current state, so the client may resolve it and retry.Typical cases: stale
If-Match/ETag (lost update), uniqueness violations like a duplicate email, or illegal state transitions.Unlike
400(malformed) or422(semantically invalid), it signals a state conflict. Explain the conflict in the body.