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

**Code:** `batch size` · **Category:** API · **Seen on:** Any

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

## 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?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/api/bulk-api-batch-size-exceeded)
