What is the purpose of a 409 Conflict, and in what scenario would you return it?

Last updated 29 June 2026

  • 409 Conflict means 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) or 422 (semantically invalid), it signals a state conflict. Explain the conflict in the body.

  • https://dev.to/arghya_majumder/ticket-booking-system-bookmyshow-high-level-system-design-3one
  • https://www.greatfrontend.com/blog/rest-api-interview-questions-for-frontend-devs
  • https://www.restapitutorial.com/httpstatuscodes
  • https://www.greatfrontend.com/blog/latest
All REST API interview questions