Skip to content

File is too large

What the file_too_large error from the Perafly API means and what to do about it.

On this page
Code
file_too_large
HTTP status
413

What it means

A file is larger than the plan allows per file (limit, in bytes). In storage, the upload was larger than the size it declared.

A typical detail: The limit is <limit> bytes per file.

What to do

Make the file smaller or move it to project storage. If the response has upgradeTo, that plan allows larger files.

Read more: Publishing

Example response

This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.

{
  "type": "https://perafly.com/docs/errors/file_too_large",
  "title": "File is too large",
  "status": 413,
  "code": "file_too_large",
  "detail": "The limit is <limit> bytes per file.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes