> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinakelai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Payload too large

> HTTP 413, payload-too-large. The batch request body is larger than 64 KB.

| | |
| - | - |
| Type | `https://docs.pinakelai.com/errors/payload-too-large` |
| Status | 413 |
| Retry | No. Send a smaller body. |

## When it happens

The body of `POST /v1/trademarks/batch` exceeds 64 KB. A body with 100 ids of normal length is far below this limit.

## What to do

Send at most 100 ids per request (25 with a heavy `include`), with no other content than `ids` and `include`. Split larger lists into several requests.

## Example

```json Body theme={null}
{
  "type": "https://docs.pinakelai.com/errors/payload-too-large",
  "title": "Payload too large",
  "status": 413,
  "detail": "The request body exceeds 64 KB.",
  "request_id": "req_01M7Q40MNPQRSTVWXYZ0123456"
}
```

See the [errors catalogue](https://docs.pinakelai.com/api-reference/errors.md) for every error type, and [Handling errors](https://docs.pinakelai.com/guides/errors.md) for retry strategy.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.