Hi Team,
I'm currently utilizing
Vapi's outbound call feature by registering a
Twilio-generated number within
Vapi. During registration,
Vapi requires the
Twilio phone number,
Account SID, and
Auth Token.
Issue:
Whenever the
Auth Token from Twilio is refreshed, outbound calls via Vapi
fail unless the number is re-registered with the updated token.
Error Details:
When
initiating an outbound call through the UI, the following error occurs: Couldn't create Twilio call. Twilio Error : Authenticate
When
making the same call via API, the following error is returned (Note: the same HTTP 400 error occurs for other issues, not exclusively token-related): HTTPError: 400 Client Error: Bad Request for url:
https://api.vapi.ai/call
Support Required:
Guidance on accurately identifying and distinguishing authentication-specific errors.
Recommendations or methods for
programmatically updating the Auth Token automatically whenever it changes, thus avoiding manual re-registration and ensuring uninterrupted outbound call functionality.
Thank you!