Conflict
| Type URI | https://doc.expresso-ts.com/docs/errors/conflict |
| HTTP status | 409 |
The request cannot be carried out because of the current state of a resource, for example creating something that already exists.
When it is sent
A handler throws AppError.conflict(message, details?).
{
"type": "https://doc.expresso-ts.com/docs/errors/conflict",
"title": "Conflict",
"status": 409,
"detail": "A user with this email already exists",
"instance": "/api/users",
}
What to do
Read detail and details: they say which state the request ran into. Sending the same request again gives the same answer until that state changes.
See Error responses for the shape of the document and how to turn it on.