payload_too_large
HTTP 413 · retryable is false
A JSON body is at most 64 KiB. POST /v2/media takes a file up to 25 MiB, and a presigned upload refuses more bytes
than it declared.
What to do: send long text as a file, and files over 25 MiB with POST /v2/media/uploads, which takes up to 2
GiB. kabu send --file picks the right way for you.
The response
Every error comes as application/problem+json; Errors explains each field.
{
"type": "https://usekabu.com/docs/errors/payload_too_large",
"title": "Payload too large",
"status": 413,
"code": "payload_too_large",
"detail": "…",
"hint": "…",
"retryable": false,
"request_id": "req_…",
"doc_url": "https://usekabu.com/docs/errors/payload_too_large"
}