Error

output_refused

The output guard refused the text

HTTP status422
RetryNo: fix the request first
detailsreason.

What happened

The output guard refused the text.

Why

The message text was refused by the output guard, which checks everything VoiceLayer sends. Nothing was sent.

How to fix it

Change the text. details.reason says what was refused.

Example response

HTTP 422
{
  "error": "output_refused",
  "message": "The output guard refused the text.",
  "requestId": "req-8f2c1d4b",
  "retryable": false,
  "docs": "https://docs.vlayers.ai/errors/output_refused"
}

See Errors, retries and idempotency for how to handle errors in general.

On this page