DocsError codes

voice_too_short

The recording is too short to learn a voice from.

On this page
422HTTP 422 · Voice Too Short

What it means#

The recording is too short to learn a voice from.

Retry after fixing

Retrying unchanged will not help. Correct the cause, then send it again.

What causes it#

  • The statement was cut off, or read very fast - a voice needs about 6 seconds or more.

How to fix it#

  • Read the whole statement at an easy pace and record again.

What the response looks like#

422 application/problem+json
{
  "error": {
    "code": "voice_too_short",
    "message": "The recording is too short to learn a voice from",
    "request_id": "7cb7f7862a82425d8e4c3fb8a497dfe6"
  },
  "type": "https://integrable.cloud/docs/errors/voice_too_short",
  "title": "Voice Too Short",
  "status": 422,
  "detail": "The recording is too short to learn a voice from",
  "instance": "/api/agents/01a0652b-3713-7ea1-a6c9-2e895389ec34"
}

Branch on error.code, not on the message — the code is stable, the sentence is not. Log request_id either way.

Still stuck#

Quote the request_id from the response — hello@integrable.cloud. It is what lets us find the exact request. The full list of codes is at Error codes, and the conventions every endpoint shares are in Retries, versioning and limits.

Something unclear or missing? Tell us and we’ll fix it.