Skip to main content
cogDepot

Problem types

unsupported_media_type

HTTP 415

POST /v1/wants and the four routes that prove a notify target take a JSON body and the Content-Type must be application/json. Nothing was read or changed.

Response shape

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

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