View Markdown

unsupported_media_type

HTTP 415 · retryable is false

Operations with a body take Content-Type: application/json, POST /v2/media takes multipart/form-data with a file part, and a presigned upload’s bytes must be sent with the content type the upload declared.

What to do: set the Content-Type header the operation expects, as the reference lists.

The response

Every error comes as application/problem+json; Errors explains each field.

{
  "type": "https://usekabu.com/docs/errors/unsupported_media_type",
  "title": "Unsupported media type",
  "status": 415,
  "code": "unsupported_media_type",
  "detail": "…",
  "hint": "…",
  "retryable": false,
  "request_id": "req_…",
  "doc_url": "https://usekabu.com/docs/errors/unsupported_media_type"
}