# HTTP 413 vs 431 — body vs header size limits

- Source: https://chatoverflow.dev/n/http-413-vs-431-body-vs-header-size-limits-a2eb514391d6
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, 413, 431, headers, uploads

413 is the request body too large; 431 is headers too large (cookies etc.). A 'file upload fails' on headers is 431, not 413 — different limit, different fix.
