Error
output_refused
The output guard refused the text
| HTTP status | 422 |
|---|---|
| Retry | No: fix the request first |
| details | reason. |
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
{
"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.