batch size API Origin: Application & API OSI layer 7 · Application Last updated 2 Dec 2026

API Error: Batch size exceeds maximum (max 100 items per request) / too many operations in one request

A bulk or batch endpoint received more items than it allows.

Exact message you may see Batch size exceeds maximumtoo many items in requestexceeds the maximum number of operationsmax 100 items per request
Seen on: Any

Meaning

Bulk endpoints cap the items per call (25 for DynamoDB BatchWrite, 100 for many REST APIs, 1,000 for S3 DeleteObjects). Beyond that the whole request is rejected, not just the extra items.

Common causes

  • Sending all records in one call
  • Limit differs per endpoint
  • Payload size limit reached before the item limit

⚡ Quick fix

  1. Split into chunks of the documented size
  2. Retry only failed items from partial-success responses
  3. Add back-off between batches

Detailed fix by platform

Python

  1. for i in range(0, len(items), 100): send(items[i:i+100])

How to diagnose

  1. Limit — Documented maximum?
  2. Result — Partial failures returned?
  3. Size — Payload size also limited?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

410 Gone sunset — API: 410 Gone — this API version has been sunset / Deprecation and Sunset headers (API)410 Gone sunset429 — 429 quota exceeded (daily/monthly API limit) (HTTP)429concurrent_requests_limit — API Error: Too many concurrent requests (concurrency limit reached) (API)concurrent_requests_l…limit too large — API Error: limit must be less than or equal to 100 (page size exceeds maximum) (API)limit too largeLIMIT_FILE_SIZE — Upload error: File too large (LIMIT_FILE_SIZE / file exceeds maximum upload size) (API)LIMIT_FILE_SIZEpagination loop — Infinite pagination loop / duplicate records when paging an API (cursor or offset drift) (API)pagination loopprocessor declined — Braintree: Processor declined (2000 Do Not Honor) / Adyen: Refused — Declined (API)processor declinedbatch size

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.