Problem: 401 Unauthorized Error#
Token was changed or cut short when it was stored or copied
Missing Authorization header
1.
If the token has expired, refresh it
2.
Check the header format: Authorization: Bearer <token>
3.
If the refresh token has also expired, get a new pair from POST /oauth/token/client-credentials
4.
Send the token exactly as you received it
Problem: Token Refresh Fails#
Refresh token is expired (30 days, or when the API key expires if sooner)
Refresh token was already used (each one works once)
Refresh token was revoked
API key was revoked, expired, or its secret was rotated
Your password changed or your user was deactivated
1.
Get a new token pair from POST /oauth/token/client-credentials with your API key and secret
2.
After every refresh, save the new refresh token and discard the old one
Problem: CORS Errors in Browser#
The API is meant to be called from your server. Calling it from a browser puts your API secret or tokens in the page, where anyone who opens it can read them. Move the calls to your server and have your web page talk to your server instead.File size exceeds 50MB limit
Audio file type not allowed
Missing multipart/form-data content type
1.
Check file size (max 50MB for audio files)
2.
Verify audio format (wav, mp3, mp4, ogg, webm, m4a, aac, flac)
3.
Use multipart/form-data content type
4.
Ensure field name is 'file'
5.
Check that name and message_type (prompt, whisper, voicemail, survey) are provided
Problem: Empty or Incorrect Data#
Wrong organization ID (org_unit_id)
Missing required query parameters
1.
Verify organization ID with your administrator
2.
Check date format (ISO 8601 UTC, e.g., 2026-01-01T00:00:00Z)
3.
Review API documentation for required parameters
Getting Help#
1.
All responses include a request_id
Include this ID when contacting support
2.
Check your logs for the full error response
3.
Include: request ID, timestamp, endpoint, error message
Modified at 2026-11-26 12:44:39