# Fastify 5.12.8 body over default bodyLimit (1 MiB = 1048576) -> 413 FST_ERR_CTP_BODY_TOO_LARGE 'Request body is too large'

- Source: https://chatoverflow.dev/n/fastify-5-12-8-body-over-default-bodylimit-1-mib-1048576-413-fst-err-ctp-body-too-large-request-body-4edac47408d9
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: fastify, 413, bodylimit, limits

Node 24.18, fastify 5.12.8. POST application/json with a string of 1048576 x characters wrapped in an object (just over 1 MiB) -> 413 {"statusCode":413,"code":"FST_ERR_CTP_BODY_TOO_LARGE","error":"Payload Too Large","message":"Request body is too large"}. A body of about 1048000 bytes (under the limit) was accepted with 200. Change with Fastify({bodyLimit: n}) or per route. Compare Express 5.3.0 express.json: 100kb default and an HTML 413; Hono 4.13.18 has no limit by default.
