> ## 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.

# media_too_large

> Media too large: HTTP 413 from the Rask API v3. What it means, what to do and which operations return it.

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

## What happened

Media too large. For example: The file exceeds the plan's upload limit.

## What to do

Keep files under getPlan.limits.max\_upload\_bytes.

`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/media_too_large",
  "title": "Media too large",
  "status": 413,
  "detail": "The file exceeds the plan's upload limit.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "media_too_large",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Keep files under getPlan.limits.max_upload_bytes.",
  "errors": [],
  "max_upload_bytes": 2000000000,
  "size_bytes": 2500000000
}
```

## 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` |
| - | - | - |
| 413 | `none` | `fix_request` |

Keep the voice sample under max\_upload\_bytes.

## Operations that return it

* [completeUpload](https://docs.api.rask.ai/operations/completeUpload.md)
* [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.