Açıklamalar İngilizce
422 — request not accepted
Ne oldu
The request was not accepted and nothing was created. A field error arrives in the common envelope: {"success": false, "message": "…", "errors": {"field": ["…"]}}.
Neden
If the body has errors, the request failed field validation. errors lists the fields with problems. If there is no errors but there is a reason, it is a domain refusal, for example content_blocked, paragraph_not_voiceable, text_empty, text_not_voiceable, service_not_found, or not_allowed. Order creation can also return template_model_outdated (the template settings are outdated; the paths are in the fields field) and voice_unavailable (the voice cannot be used for synthesis, or the clone was deleted). Chunk retry and regeneration return voice_unavailable, text_over_capacity (the text is longer than a fragment can hold), input_expired (the chunk's source text was deleted after the retention period), and retry_config_outdated (the order settings no longer pass the service schema). Bulk chunk retry can also return invalid_order_status, generative_not_supported, and nothing_to_retry.
Şimdi ne yapmalı
First check whether the body has errors. If it does, fix the listed fields. If there is no errors but there is a reason, the request fields are not the problem: the same body gets the same refusal. Open the page for that code.
Sırada hangi istek gönderilmeli
GET /templates/config-options?service=<code> shows which config keys the service accepts. Each service has its own structure, so examples for another service will not fit.
Sonra nereye gitmeli
Yapay zekâ için bu sayfa
API sürümü 1.0.0