---
title: "Content Too Large (upload-too-large)"
description: "PubNio upload-too-large problem, HTTP 413: An upload is over its size limit: a direct or inline upload, one part of an upload session, or the declared size of a new session."
---

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

# Content Too Large (upload-too-large)

HTTP 413 Content Too Large. An upload is over its size limit: a direct or inline upload, one part of an upload session, or the declared size of a new session.

## When it happens

`detail` names the limit that applies, except when a streamed body's `Content-Length` is over it and the request is refused before it is read.

4 operations declare it: [`POST /api/v1/media/uploads`](https://pubnio.com/api/v1/docs#tag/media/POST/api/v1/media/uploads), [`POST /api/v1/media`](https://pubnio.com/api/v1/docs#tag/media/POST/api/v1/media), [`POST /api/v1/media/inline`](https://pubnio.com/api/v1/docs#tag/media/POST/api/v1/media/inline), and [`PUT /api/v1/media/uploads/{mediaId}/parts/{partNumber}`](https://pubnio.com/api/v1/docs#tag/media/PUT/api/v1/media/uploads/{mediaId}/parts/{partNumber}).

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/upload-too-large/",
  "status": 413,
  "title": "Content Too Large",
  "detail": "Upload at most 16 MiB per part.",
  "code": "upload_too_large",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

## Recovery for agents

- Send a large file through an upload session, keeping each part within the per-part limit.

## Retryable

No: the SDKs mark HTTP 413 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [General problems](https://pubnio.com/docs/problems/#general)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/upload-too-large/index.mdx
