Troubleshooting: voice inference credential rejected
When you register or rotate a speech-to-text (STT) or text-to-speech (TTS) provider key under Settings → Voice inference provider, the request can return a422 with error code VOICE_CREDENTIAL_PROVIDER_REJECTED. This page
explains why it happens and how to recover safely.
Symptom
You select a provider, paste its API key, and submit. The request fails with:PUT /api/v1/voice/voice-provider-credential/{kind} and rotation uses
POST /api/v1/voice/voice-provider-credential/{kind}/rotate.
What it means
Orbit probes every credential against the provider before persisting it. For example, the probe can request a Deepgram project list or a Cartesia voice list. If the provider returns a refusal such as HTTP 401 or 403, Orbit returnsVOICE_CREDENTIAL_PROVIDER_REJECTED and does not save the key. The provider’s
status is available as error.details.provider_status.
Probe-first registration prevents a key that is already unusable from reaching
an agent’s STT or TTS calls. The probe runs on both register and rotate, so
neither operation can save a credential that the provider currently rejects.
The supported provider families are:
A key restricted to billing, account administration, or another unrelated API
will be rejected even if the key is active in the provider’s console.
Fix the credential
- Open the dashboard where you created the key. Confirm it is active, has not
expired or been revoked, and belongs to the provider and
kindyou selected. - Check its scope. Deepgram needs transcription access. Cartesia and ElevenLabs need text-to-speech or voice-synthesis access.
- Copy the key directly from the provider dashboard. Do not pass it through a chat or document that can add whitespace.
- Submit the corrected key once through Settings → Voice inference provider or the matching API operation.
Rotate or delete?
Use rotate when you want to keep using your own provider account: create or select a valid replacement key, then rotate it. The replacement is probed before it is saved. Use delete or revoke when you no longer want to manage a provider key. This removes the BYO credential so voice inference can fall back to the platform-owned key, where that fallback is available. Deleting is not a way to save a rejected key, and it does not repair a provider key that is still needed.If the error persists
Replace or revoke the key before opening a support ticket. If a new key with the required scope still fails, include:- The error code and operation:
VOICE_CREDENTIAL_PROVIDER_REJECTED, plus whether you used the register or rotate endpoint. error.details.kindanderror.details.provider.error.details.provider_status(for example,401or403).- Your organization ID and the request ID from the response metadata.
See also
- Bring your own speech credentials (STT/TTS) — the happy-path guide for registering, enforcing, rotating, and revoking a voice inference credential.
- Voice Settings Consoles — manage the organization-level voice settings and find the dashboard voice controls.
- STT Playground — compare transcription providers after your STT credential is accepted.
- POST /api/v1/voice/voice-provider-credential//rotate — rotate a provider credential.
- Error codes reference — the full error-code catalog.
/troubleshooting/voice-provider-credential-rejected page is
retired. Its link redirects here during the documentation transition.