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
API v2
stoqapp.comAbout STOQContactPrivacy policyHelp center
Batch too large
Section titled “Batch too large”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.
How to fix
Section titled “How to fix”Split the batch into smaller batches and send them one after another.
Example response
Section titled “Example response”{ "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?
Thanks for letting us know.
Still stuck? Ask Quinn or chat with support