Overview

Too much data sent, rejecting.

Takeaways

  1. The server is refusing to process a request because the request payload is larger than the server is willing or able to process.
  2. The server may close the connection to prevent the client from continuing the request.
  3. If the condition is temporary, the server should generate a Retry-After header field to indicate that it is temporary and after what time the client may try again.

Information

This status code used to be named Payload Too Large. That name is still widely used.

Further Reading

Specification

413 Content Too Large | The HTTP Working Group

413 Content Too Large

MDN web docs

Retry-After header field

MDN web docs

Connection header field

MDN web docs