409 Conflict

That doesn't fit with what I've already got.

What it properly means

The request conflicts with the current state of the server, such as an edit based on a stale version.

Class
4xx Client error: you fucked up
Defined in
RFC 9110, section 15.5.10

Get one yourself

This endpoint really answers with 409. Point your client at it and see what it does.

curl -i https://httpcodes.dev/api/409

People mix this up with

  • 409412 Precondition Failed

    Which kind of clash?

    409 means the request conflicts with the current state, such as creating something that already exists. 412 means the client sent a condition like If-Match and it turned out to be false.