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, POST /api/v1/media, POST /api/v1/media/inline, and PUT /api/v1/media/uploads/{mediaId}/parts/{partNumber}.
Response body
{
"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
typeorcode, not ondetail.