From 79e82bf43ca4aa9490343dc8c29d76267175d757 Mon Sep 17 00:00:00 2001 From: Gregory Beaver Date: Mon, 23 Nov 2026 14:47:51 -0800 Subject: [PATCH 1/3] CAL-124 Document the call.start.error-twilio-credential-rejected ended reason Co-Authored-By: Claude Opus 5.5 --- fern/calls/call-ended-reason.mdx | 1 + .../troubleshoot-call-connection-errors.mdx | 21 ++++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/fern/calls/call-ended-reason.mdx b/fern/calls/call-ended-reason.mdx index 2f5915a2c..a3d1e84bf 100644 --- a/fern/calls/call-ended-reason.mdx +++ b/fern/calls/call-ended-reason.mdx @@ -60,6 +60,7 @@ These occur before the call connects, during resource setup. - `call.start.error-get-customer` — Error retrieving customer information. - `call.start.error-get-resources-validation` — The assistant, tools, or other resources failed validation. - `call.start.error-get-transport` — Error setting up the call transport. See [Troubleshoot call connection errors](/calls/troubleshoot-call-connection-errors#the-provider-refused-to-place-the-call). +- `call.start.error-twilio-credential-rejected` — Twilio rejected the credentials on your Twilio phone number, so Vapi didn't place the call. See [Troubleshoot call connection errors](/calls/troubleshoot-call-connection-errors#twilio-rejected-your-credentials). - `call.start.error-vapifault-database-error` — Internal database error during call setup. Retry or contact [support](/support). - `call.start.error-vapifault-worker-not-available` — The call's queue time expired before a call worker became available, so the call was not placed. Retry the call. diff --git a/fern/calls/troubleshoot-call-connection-errors.mdx b/fern/calls/troubleshoot-call-connection-errors.mdx index b2819ae2e..ae519a8dc 100644 --- a/fern/calls/troubleshoot-call-connection-errors.mdx +++ b/fern/calls/troubleshoot-call-connection-errors.mdx @@ -81,7 +81,7 @@ The `endedMessage` starts with `Couldn't Create Twilio Call. Twilio Error:` and | `Account not authorized to call` | [21215](https://www.twilio.com/docs/api/errors/21215) | Your Twilio account isn't allowed to call the destination country. | Enable the country in Twilio's [Voice geographic permissions](https://www.twilio.com/console/voice/calls/geo-permissions/low-risk). | | `Account not allowed to call` | [21216](https://www.twilio.com/docs/api/errors/21216) | Twilio blocked the call. Causes include a high-risk number range, a regulatory restriction, or a missing Primary Customer Profile for calls to `+1` numbers. | Follow the steps on Twilio's error page. For `+1` numbers, submit a Primary Customer Profile in Twilio's Trust Hub. | | `is not valid` | [21211](https://www.twilio.com/docs/api/errors/21211) | The number you called is invalid or incorrectly formatted. | Check the number for typos and use E.164 format. Make sure the customer number and your Twilio number are different. | -| `Authenticate` | [20003](https://www.twilio.com/docs/api/errors/20003) | Twilio rejected the credentials stored on your imported number. The auth token was rotated or deleted, or the account is suspended. | Update the Twilio credentials on your phone number in Vapi, or re-import the number. | +| `Authenticate` or `authentication failed` | [20003](https://www.twilio.com/docs/api/errors/20003) | Twilio rejected the credentials stored on your imported number. The auth token was rotated or deleted, or the account is suspended. Later calls on the number end with `call.start.error-twilio-credential-rejected`; see [Twilio rejected your credentials](#twilio-rejected-your-credentials). | Update the Twilio credentials on your phone number in Vapi, or re-import the number. | | `Voice calling has been disabled for this account` | | Voice calling is turned off on the Twilio account that owns the number. | If you imported the number, contact Twilio. If you bought the number through Vapi, contact [Vapi support](/support). | #### Telnyx @@ -117,6 +117,25 @@ If the `endedMessage` is `Couldn't Start Call On Vapi Number.`, contact [Vapi su If the `endedMessage` says the customer number is missing, the call request had no `customer.number`. Add the customer number to the request in E.164 format. +### Twilio rejected your credentials + +The `call.start.error-twilio-credential-rejected` ended reason means Twilio refused the auth token or API key stored on your Twilio phone number, so Vapi didn't place the call. The phone never rang and you weren't charged. The usual causes are a suspended or closed Twilio account, or an auth token or API key that was rotated or deleted in Twilio. + +Before it dials a Twilio number that has its own credentials, Vapi checks whether Twilio accepts them. When Twilio rejects them, Vapi ends that call and the calls that follow on the same number without contacting Twilio, instead of sending each one to Twilio to fail. About every 5 minutes, Vapi tries one call again to see whether the credentials work. + +The `endedMessage` names the Twilio account and quotes Twilio's answer. For example: + +```text wordWrap +Couldn't Start Twilio Call. Twilio rejected this phone number's credentials, so Vapi did not dial. Twilio account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX answered: Authenticate Update the Twilio auth token or API key on this phone number, or reactivate the Twilio account. A new token or key is used right away; otherwise Vapi checks again within about 5 minutes. +``` + +To fix it: + +- **Rotated or deleted token or API key:** Update the Twilio credentials on your phone number in Vapi, or re-import the number. Vapi uses the new credentials on the next call. +- **Suspended or closed Twilio account:** Reactivate the account with Twilio. Calls start connecting again within about 5 minutes, without any change in Vapi. + +Campaigns and scheduled calls aren't paused. Calls that come due while the credentials are rejected end with this reason, and calls after the fix connect as usual. + ### Free Vapi number limits Free Vapi numbers are for inbound calls. To place outbound calls, [import a number](/phone-numbers/import-twilio) from Twilio, Telnyx, Vonage, or your own SIP trunk. From a665c59950c1368256a2e0771209fef7959bd35d Mon Sep 17 00:00:00 2001 From: Gregory Beaver Date: Mon, 23 Nov 2026 15:23:19 -0800 Subject: [PATCH 2/3] CAL-124 Describe the block as starting after a call gets Twilio's 401 Co-Authored-By: Claude Opus 5.5 --- fern/calls/troubleshoot-call-connection-errors.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fern/calls/troubleshoot-call-connection-errors.mdx b/fern/calls/troubleshoot-call-connection-errors.mdx index ae519a8dc..cffa7ea7a 100644 --- a/fern/calls/troubleshoot-call-connection-errors.mdx +++ b/fern/calls/troubleshoot-call-connection-errors.mdx @@ -121,12 +121,12 @@ If the `endedMessage` says the customer number is missing, the call request had The `call.start.error-twilio-credential-rejected` ended reason means Twilio refused the auth token or API key stored on your Twilio phone number, so Vapi didn't place the call. The phone never rang and you weren't charged. The usual causes are a suspended or closed Twilio account, or an auth token or API key that was rotated or deleted in Twilio. -Before it dials a Twilio number that has its own credentials, Vapi checks whether Twilio accepts them. When Twilio rejects them, Vapi ends that call and the calls that follow on the same number without contacting Twilio, instead of sending each one to Twilio to fail. About every 5 minutes, Vapi tries one call again to see whether the credentials work. +When Twilio refuses the credentials on a call, that call ends with `call.start.error-get-transport` and Twilio's error. For about the next 5 minutes, Vapi ends the calls that follow on the same number with `call.start.error-twilio-credential-rejected`, without contacting Twilio, instead of sending each one to Twilio to fail. After that, Vapi places the next call normally, which shows whether the credentials work again. The `endedMessage` names the Twilio account and quotes Twilio's answer. For example: ```text wordWrap -Couldn't Start Twilio Call. Twilio rejected this phone number's credentials, so Vapi did not dial. Twilio account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX answered: Authenticate Update the Twilio auth token or API key on this phone number, or reactivate the Twilio account. A new token or key is used right away; otherwise Vapi checks again within about 5 minutes. +Couldn't Start Twilio Call. Twilio rejected this phone number's credentials, so Vapi did not dial. Twilio account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX answered: authentication failed, account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX with status 4 is not active Update the Twilio auth token or API key on this phone number, or reactivate the Twilio account. A new token or key is used right away; otherwise Vapi tries one call again within about 5 minutes. ``` To fix it: From 949f54987f30537dca57edd6feed72d18a83791a Mon Sep 17 00:00:00 2001 From: Gregory Beaver Date: Mon, 23 Nov 2026 16:23:53 -0800 Subject: [PATCH 3/3] CAL-124 Match the sentence-case error message Co-Authored-By: Claude Opus 5.5 --- fern/calls/troubleshoot-call-connection-errors.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/calls/troubleshoot-call-connection-errors.mdx b/fern/calls/troubleshoot-call-connection-errors.mdx index cffa7ea7a..a291a19a0 100644 --- a/fern/calls/troubleshoot-call-connection-errors.mdx +++ b/fern/calls/troubleshoot-call-connection-errors.mdx @@ -126,7 +126,7 @@ When Twilio refuses the credentials on a call, that call ends with `call.start.e The `endedMessage` names the Twilio account and quotes Twilio's answer. For example: ```text wordWrap -Couldn't Start Twilio Call. Twilio rejected this phone number's credentials, so Vapi did not dial. Twilio account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX answered: authentication failed, account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX with status 4 is not active Update the Twilio auth token or API key on this phone number, or reactivate the Twilio account. A new token or key is used right away; otherwise Vapi tries one call again within about 5 minutes. +Couldn't start Twilio call. Twilio rejected this phone number's credentials, so Vapi did not dial. Twilio account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX answered: authentication failed, account ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX with status 4 is not active Update the Twilio auth token or API key on this phone number, or reactivate the Twilio account. A new token or key is used right away; otherwise Vapi tries one call again within about 5 minutes. ``` To fix it: