Skip to content

unsupported_media_type

unsupported_media_type: HTTP 415, request error. Content-Type is not supported for this endpoint.


Code unsupported_media_type
Type request_error
HTTP status 415
Default message Content-Type is not supported for this endpoint.

The request or the state of the resource is the problem. Change something before you send it again.

Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.

{
"error": {
"type": "request_error",
"code": "unsupported_media_type",
"detail": "Content-Type is not supported for this endpoint.",
"documentation_url": "https://docs.baiyar.com/resources/errors/unsupported_media_type/"
},
"meta": { "request_id": "req_…" }
}

All error codes