Error
content_too_long
The text is longer than the channel takes
| HTTP status | 422 |
|---|---|
| Retry | No: fix the request first |
| details | maxChars and split. |
What happened
The text is longer than the channel takes.
Why
The text exceeds the channel's limit: with split: "refuse" any text past the limit, and with split: "auto" text that would need more parts than the API sends. Nothing is cut silently.
How to fix it
Shorten the text, or send it with split: "auto" where it fits the part limit.
Example response
{
"error": "content_too_long",
"message": "The text is longer than the channel takes.",
"requestId": "req-8f2c1d4b",
"retryable": false,
"docs": "https://docs.vlayers.ai/errors/content_too_long"
}See Errors, retries and idempotency for how to handle errors in general.