Getting Started
Troubleshooting
Fix the most common authentication, KYC, balance, and calling problems.
Start with the HTTP status and error.code. If you contact support, include error.request_id.
Requests fail
| You see | Cause | Fix |
|---|---|---|
401 INVALID_CREDENTIALS | Wrong Auth ID or Auth Token, or a revoked key | Check both values. If the token is lost, create a new key |
403 FORBIDDEN | The {auth_id} in the URL isn't your account | Use the Auth ID of the key you are authenticating with |
403 KYC_REQUIRED | KYC isn't approved | Complete KYC under Compliance (KYC) in the dashboard |
403 ACCOUNT_MANAGER_REQUIRED | This team role can't use the feature | Use an owner or admin login. See Team Members |
402 INSUFFICIENT_BALANCE | The wallet can't cover the charge | Check your balance and recharge |
429 RATE_LIMITED | Your concurrent-call or calls-per-second limit is reached | Retry with backoff. See Capacity |
A call was accepted but nothing happened
201 means the call was queued, not that it connected. Check the call with Get Call:
statusisfailed: readhangup_cause. Afromnumber your account doesn't own is only caught at dial time, and no webhook is sent. See Make a Call.- The call ended quickly: look up the cause in Hangup Causes.
- The call connects but plays nothing: confirm your
answer_urlis public over HTTPS and returns valid VoxML.
Incoming calls don't reach your app
- Confirm the number is
activein List Numbers. - Confirm an application is attached. See Configure a Number.
- Confirm the application has an
answer_url. See Applications. - Call the number, then check your server logs and Call Records.
Webhooks don't arrive
- Your URL must be publicly reachable.
localhostwon't work, so use a tunnel for testing. - Return a
2xxresponse quickly, and do slow work in the background. - Verify the signature against the raw request body. See Webhooks.
Your number or balance looks empty
Every API key acts on your account, so a different key sees the same numbers and balance. If the result looks empty, confirm you are using a key from the right account.