Skip to content

batch_too_large

Batch too large

BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog

Last updated

Code: batch_too_large · HTTP status: usually 400

A JSON-RPC batch sent to the MCP endpoint has more calls than one batch may hold.

Split the batch into smaller batches and send them one after another.

{
"code": "batch_too_large",
"type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/batch-too-large/",
"title": "Batch too large",
"status": 400,
"detail": "Batch too large. Split the JSON-RPC batch into smaller batches and send them one after another.",
"errors": [
"Batch too large"
],
"details": [
{
"code": "batch_too_large",
"message": "Batch too large",
"path": null,
"value": null,
"expected": null
}
]
}

Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.

Was this page helpful?

Still stuck? Ask Quinn or chat with support