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

# translation_batch_too_large

> Translation batch too large: HTTP 422 from the Rask API v3. What it means, what to do and which operations return it.

| Status | `retry` | `recommendation` |
| - | - | - |
| 422 | `none` | `fix_request` |

## What happened

Translation batch too large. For example: This request holds more segments than the hourly translation budget.

## What to do

Name at most `limit` segments in one request, as segment\_ids, and spread the rest over the hours.

`fix_request`: change the request or its inputs; sent unchanged it fails again.

`none`: do not retry the request unchanged.

## Example

```json theme={null}
{
  "type": "https://docs.api.rask.ai/errors/translation_batch_too_large",
  "title": "Translation batch too large",
  "status": 422,
  "detail": "This request holds more segments than the hourly translation budget.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "translation_batch_too_large",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Name at most `limit` segments in one request, as segment_ids, and spread the rest over the hours.",
  "errors": [],
  "limit": 5000
}
```

## Operations that return it

* [importTranscript](https://docs.api.rask.ai/operations/importTranscript.md)
* [retranslateSegments](https://docs.api.rask.ai/operations/retranslateSegments.md)


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