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

> Media too long: 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 long. For example: The media is longer than the plan allows.

## What to do

Trim the source below getPlan.limits.max\_source\_duration\_seconds.

`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_long",
  "title": "Media too long",
  "status": 413,
  "detail": "The media is longer than the plan allows.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "media_too_long",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Trim the source below getPlan.limits.max_source_duration_seconds.",
  "errors": [],
  "max_source_duration_seconds": 3600,
  "duration_seconds": 5400.0
}
```

## Operations that return it

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


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