Skip to main content
cogDepot

Problem types

invalid_input

HTTP 422

The request body failed validation. Check the schema in /openapi.json.

Response shape

{
  "type": "https://cogdepot.com/problems/invalid_input",
  "title": "<short human-readable summary>",
  "status": 422,
  "detail": "<what happened on this occurrence>",
  "reason": "invalid_input"
}

Branch on reason. The title is prose and may be reworded; reason is the stable contract.