code and a human-readable message:
Status codes
| Status | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing, invalid, or revoked API key |
403 | client_disabled | The account is not active |
402 | insufficient_balance | Not enough balance (incl. overdraft) |
422 | invalid_request | Malformed request body |
422 | unknown_voice / unknown_model / unknown_format | Unknown parameter value |
422 | text_too_long | Text exceeds the 10,000 character limit |
422 | unsupported_language | Text contains letters outside Russian/English |
422 | content_rejected | Text contains content not allowed for synthesis |
429 | concurrency_limit | Too many concurrent requests for your account |
5xx | synthesis_failed | Temporary synthesis problem — retry shortly |
Only Russian and English letters are accepted. Digits, punctuation and symbols
are fine, but text containing other scripts is rejected with
unsupported_language.