PAYLOAD_TOO_LARGE
The body, a file or the context of a sent message is over its documented limit.
| HTTP status | 413 |
| Error class | PayloadTooLargeError in TypeScript and Python, *caitlyn.PayloadTooLargeError in Go, Error::PayloadTooLarge in Rust |
| Retried by the SDKs | No |
What to do
Section titled “What to do”The limit is on the member's or operation's reference page. Send less: split the file, or trim the context.
The error body
Section titled “The error body”Every error is an RFC 9457 problem details object with code set to PAYLOAD_TOO_LARGE and type set to this page's address. requestId identifies the request; quote it to Caitlyn support. Errors lists every field.
Operations that document this error: SendMessage, CreateUpload. Any operation can return it, though: the SDKs choose the class by HTTP status.

