> ## Documentation Index
> Fetch the complete documentation index at: https://docs.api.rask.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# unsupported_media_type

> Unsupported media type: HTTP 415 from the Rask API v3. What it means, what to do and which operations return it.

| Status | `retry` | `recommendation` |
| - | - | - |
| 415 | `none` | `fix_request` |

## What happened

Unsupported media type. For example: This content type is not accepted.

## What to do

Send one of the listed video or audio content types.

`fix_request`: change the request or its inputs; sent unchanged it fails again.

`none`: do not retry the request unchanged.

## Example

```json theme={null}
{
  "type": "https://docs.api.rask.ai/errors/unsupported_media_type",
  "title": "Unsupported media type",
  "status": 415,
  "detail": "This content type is not accepted.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "unsupported_media_type",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Send one of the listed video or audio content types.",
  "errors": [],
  "content_type": "image/gif"
}
```

## Inside a job

It also appears inside a job, as `Job.error` or `Job.stages[].error`, on jobs of type `media_import`.

| Status | `retry` | `recommendation` |
| - | - | - |
| 415 | `none` | `fix_request` |

Send a supported video or audio file.

## Operations that return it

* [createProject](https://docs.api.rask.ai/operations/createProject.md)
* [createUpload](https://docs.api.rask.ai/operations/createUpload.md)
* [createVoiceClone](https://docs.api.rask.ai/operations/createVoiceClone.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.