# unsupported-media-type

`https://ckrets.ai/problems/unsupported-media-type` is a problem type of the ckrets.ai API (RFC 9457: the body is
`application/problem+json` with `type`, `title`, `status` and `detail`; every problem from `/v1` also carries `requestId`).

| Status | Also in the answer | What to do |
|---|---|---|
| 415 | - | a write (`POST`, `PATCH`) must be `Content-Type: application/json`, or have no body and no type; send JSON. Parameters (`; charset=utf-8`) and letter case are ignored, and any `application/…+json` type is taken; anything else, `application/json5` included, is `415`. A create with no body at all is `400 invalid-request` (no `value`) |

Every type, with its retry rule and headers: [limits.md, "Errors, retries and headers"](/limits.md#errors-retries-and-headers).
