---
title: "E20002 — AssetTooLarge"
description: "This file exceeds the maximum size allowed for its type."
canonical: "https://bird.com/docs/api/errors/E20002"
---

# E20002 — AssetTooLarge

This file exceeds the maximum size allowed for its type.

- **HTTP status**: `413`
- **Type**: `payload_too_large_error`
- **Name**: `AssetTooLarge`

## What to do

Images can be up to 5 MB, and video, audio, and documents up to 25 MB. Compress the file or upload a smaller one. Images are also recompressed when they are stored, which can change the stored size in either direction.

## Related

- [E20xxx — Assets & media library](/docs/api/errors/E20xxx): every code in this range
- [Errors](/docs/api/errors): the full wire contract, status mapping, and error catalog
- [Error handling](/docs/guides/errors): branching on `type` and `code`, validation details, and `vendor_code`

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
