# file_too_large

> The file is too big

Source: https://docs.nocamclub.com/errors/file_too_large

- **Where:** HTTP 413, and nothing started
- **Charged:** No
- **Worth retrying:** Not as it is. The request has to change first.

## What happened

Photos are limited to 10 MB, videos to 50 MB, audio to 15 MB. A request body is limited to 1 MB, so files never go inside it.

## What to do

Send a smaller file, and send files through `/v1/uploads`.

## What it looks like

The real `message` and `hint` name the details of your request, such as the field and the values that work.

```json
{
  "error": {
    "code": "file_too_large",
    "message": "Photos are limited to 10 MB, videos to 50 MB, audio to 15 MB. A request body is limited to 1 MB, so files never go inside it.",
    "hint": "Send a smaller file, and send files through `/v1/uploads`.",
    "retryable": false,
    "request_id": "req_01a1b37b65dc7dcd8c060f296add5cf8",
    "docs_url": "https://docs.nocamclub.com/errors/file_too_large"
  }
}
```

All codes: [Errors](https://docs.nocamclub.com/errors.md).
