Docs / SynthEvents / Errors / body-too-large

body-too-large

The body of the request is larger than any request needs.

  • Status: 413 Request Entity Too Large
  • Routes: POST /api/v1/generate-events, QUERY /api/v1/read-data-set, QUERY /api/v1/read-domains
  • Description: body is too large: expected at most 65536 bytes
  • Details: Empty.

Why It Happens#

The body has more than 65,536 bytes (64 KiB). A valid request takes far less, even with the longest seed, so SynthEvents stops reading there.

How to Fix It#

Send only the request itself as the body: the JSON object with its parameters for generate-events, the JSON object with name and format for read-data-set, or {} for read-domains.