Skip to content

ERROR_CODES

const ERROR_CODES: readonly ["invalid_request", "invalid_audio", "unauthenticated", "secret_expired", "forbidden", "origin_not_allowed", "voice_not_found", "session_not_found", "capacity_exhausted", "partner_limit_reached", "rate_limited", "provider_unavailable", "internal", "not_found", "conflict", "unavailable"]

The error codes the service can send. The list can grow: treat a code you don’t know as internal.