FILE_TOO_LARGE
A file is too large.
- HTTP class: 413
- Retryable: no
What happened
A file is over 4 MiB once decoded (or once its pieces are joined).
Fix
Compress or resize it (WebP or AVIF for photos) and send it again. Video and audio aren't hosted: embed them from YouTube or Vimeo.
What to tell the user
Mention which file was too big and how you made it smaller.
Agent hint
The exact error.hint text; Carnival fills each <…> for the call.
<path> is over 4 MB. Compress or resize it (WebP or AVIF for photos) and send it again.
Related
SITE_TOO_LARGE: The site is too large.PAYLOAD_TOO_LARGE: Too much data in one call.DISALLOWED_FILE_TYPE: This file type is not allowed.
All error codes: error codes