On the wire
Ships with HTTP status 413, carrying "code": "RU-4017" in the response body alongside the human-readable error message. Existing fields are never replaced by the code: it is additive.
Common causes
- A batch built by concatenating many events' worth of frames, breadcrumbs, or context without checking the running size.
- A hand-rolled client streaming an unbounded payload instead of the SDK's own bounded batching.
How to fix it
- Use the official SDK, which batches and flushes well under this ceiling.
- Split a large batch into several smaller POSTs rather than one giant one.
Related codes
- RU-4009: Error event context too large
Still stuck?
Ask support and mention RU-4017: the code pins down the exact refusal path, so you skip the diagnostic back-and-forth.