Skip to main content

unsupported_media_type

The content type is not supported

Status: 415 Unsupported Media Type

type: https://api.allisai.ai/errors/unsupported_media_type

When it is sent​

The Content-Type is not one the operation takes, or names a charset other than utf-8 on a JSON media type. Send the media type the operation's request body lists, in UTF-8.

Example​

{
"type": "https://api.allisai.ai/errors/unsupported_media_type",
"title": "The content type is not supported",
"status": 415,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "unsupported_media_type",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}

Operations that return it​