# payload_too_large

**HTTP 413 — Payload too large**

## When you see it

The request body is over 1 MB.

## What to do

Split the write. Note `notes` alone may be up to 100,000 characters, so this is usually a batch that grew.

## The response

Every error is [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem+json:

```json
{
  "type": "https://devs.inittasks.com/errors/payload_too_large",
  "title": "Payload too large",
  "status": 413,
  "detail": "a sentence for a developer; never branch on it",
  "instance": "/todos/8E4F2A1B",
  "request_id": "3f9a1c7e-2b44-4d1e-9c30-5a7e8b2d1f60"
}
```

// Branch on `type`, never on `detail` or on the HTTP status alone — several codes share a status.
