400
https://tandem.codingful.com/problems/invalid-parameter
A query or path parameter could not be parsed into the type the contract declares — an unknown status name, a non-numeric message id, or a malformed pagination cursor. The request never reached the outbox; nothing changed.
The detail names the offending parameter and the value that failed to bind.
Fix the request. The valid outbox statuses are PENDING,
IN_FLIGHT, DONE, FAILED and DISCARDED,
spelled exactly that way.
If you are writing a client, note that the reverse does not hold: a response may carry a status value your version does not know about, because the schema is open and evolves additively. Tolerate unknown enum values on read rather than failing on them.
{
"type": "https://tandem.codingful.com/problems/invalid-parameter",
"title": "Invalid request parameter",
"status": 400,
"detail": "Failed to convert value 'PENDNIG' to type OutboxStatus"
}