Payload too large (413)
The request body is larger than the operation accepts.
Status: 413 Content Too Large · type: https://api.sparkle.ai/errors/payload-too-large
When it happens
The body is larger than the operation's limit: 10 MB for a JSON body and, for a file upload, the limit its reference page gives.
How to fix it
Make the body smaller before sending it again, for example by splitting a large payload into several requests. The same request gets the same error.
Example
{
"type": "https://api.sparkle.ai/errors/payload-too-large",
"title": "Payload Too Large",
"status": 413,
"detail": "request body is too large",
"instance": "/public/v1/webhooks",
"code": "validation.body_too_large",
"request_id": "req_abc123",
"timestamp": "2026-02-15T12:00:00Z",
"documentation_url": "https://docs.sparkle.ai/docs/api/errors/payload-too-large"
}