DocsError codes

voice_too_long

The recording was longer than one spoken turn may be (about a minute), so it was not transcribed.

On this page
413HTTP 413 · Voice Too Long

What it means#

The recording was longer than one spoken turn may be (about a minute), so it was not transcribed.

Do not retry

The identical request will fail the same way every time. Change it first.

What causes it#

  • The microphone was left open while the visitor did something else.
  • A client that records continuously and sends the whole recording at once.

How to fix it#

  • Send what the visitor said one turn at a time; the widget ends a turn after a short silence.
  • Keep each recording under 4 MB and about 60 seconds.

What the response looks like#

413 application/problem+json
{
  "error": {
    "code": "voice_too_long",
    "message": "The recording was longer than one spoken turn may be (about a minute), so it was not transcribed",
    "request_id": "7cb7f7862a82425d8e4c3fb8a497dfe6"
  },
  "type": "https://integrable.cloud/docs/errors/voice_too_long",
  "title": "Voice Too Long",
  "status": 413,
  "detail": "The recording was longer than one spoken turn may be (about a minute), so it was not transcribed",
  "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.