Skip to content
Go to app

unsupported_media_type

Open in ChatGPT

This endpoint does not accept the Content-Type.

HTTP status415
codeunsupported_media_type
Retry?No, fix the request first

JSON endpoints expect Content-Type: application/json. Image uploads expect image/png, image/jpeg, image/webp or application/octet-stream.

Set the matching header. With curl: -H "Content-Type: application/json" for JSON.

{
"type": "https://docs.kalender-sync.de/en/api/errors/unsupported_media_type",
"title": "Unsupported media type",
"status": 415,
"code": "unsupported_media_type",
"request_id": "req_…"
}

→ All error codes