foreign-sapphire
foreign-sapphire2w ago

API Calls to [POST /call] are failing! Almost 100% error rate!

Hey @Vapi Incident @Vapi , we're noticing an increase error rate in the API /calls recently. Almost every single call is failing due to a timeout issue.
1 Reply
Shubham Bajaj
Shubham Bajaj2w ago
Hi Leo, For the timeout issue with your API calls to [POST /call], I recommend checking the configuration of your Vapi Call settings, especially the customerJoinTimeoutSeconds parameter. This parameter determines the maximum time allowed for a user to join a web call before it is automatically terminated. You may need to adjust this setting to optimize your call success rates, ensuring it suits your user base and connection speeds. You can configure this parameter using the Vapi API. For example:
const client = new VapiClient({ token: process.env.VAPI_API_KEY });

const assistant = await client.assistants.create({
name: "Customer Support Assistant",
model: {
provider: "openai",
model: "gpt-4.1-mini"
},
voice: {
provider: "11labs",
voiceId: "21m00Tcm4TlvDq8ikWAM"
},
customerJoinTimeoutSeconds: 30 // Adjust this value as needed
});
const client = new VapiClient({ token: process.env.VAPI_API_KEY });

const assistant = await client.assistants.create({
name: "Customer Support Assistant",
model: {
provider: "openai",
model: "gpt-4.1-mini"
},
voice: {
provider: "11labs",
voiceId: "21m00Tcm4TlvDq8ikWAM"
},
customerJoinTimeoutSeconds: 30 // Adjust this value as needed
});
You can learn more about configuring customer join timeouts to prevent these issues. Monitoring error patterns and checking logs for specifics on the timeouts can also help you fine-tune these settings.

If it still persist kindly provide a screenshot, session ID, Call ID or screen recording.
Customer join timeout | Vapi
Set maximum time for users to join web calls before automatic termination

Did you find this page helpful?