EMZETT.
Login

HTTP 413 Payload Too Large

In short: The amount of data sent is larger than the server allows.

In more detail: Typical when uploading large files.

In Depth

Possible causes

  • Upload limit of the web server (for example nginx client_max_body_size).
  • Limit of the platform, for example with serverless functions.

Solutions

  1. Reduce the file size (image compression).
  2. Raise the limit on the server or send uploads directly to the storage service.

See also: HTTP, Bildkompression (JPEG, PNG, WebP)