Cant make calls using API
# support
p
I am trying to make a call using API I am testing is on https://docs.vapi.ai/api-reference/calls/create/~explorer Twilio is set using free US number Integration between Twilio and Vapi is done Here is the error 1{2 "message": "Failed to create calls for the following customers: +919871990385",3 "error": "Bad Request",4 "statusCode": 4005}
v
Geographic Restriction Issue Detected The error occurs because Vapi's free US numbers can only make calls to US and Canada phone numbers, but you're trying to call an Indian number (+919871990385). To resolve this issue, you have two options: 1. Call only US/Canada numbers with your current setup 2. Purchase international telephony directly from Twilio or another provider to enable calls to India Sources: - [Geographic Restrictions on Calls](https://discord.com/channels/1211482211119796234/1341662322359533589) - [Geographic Restrictions on Calls](https://discord.com/channels/1211482211119796234/1342942393267257475)
p
k
The 400 error likely results from using "assistantId" instead of "assistant", an invalid or unverified phoneNumberId, Twilio free account restrictions (unverified destination numbers), or extra fields like "numberE164CheckEnabled" not supported by Vapi’s API.
p
Solution was upgrading Twilio. Also your Python code in doc section is incorrect. Thank you.
k
Working now?
2 Views