!Mohammad Ali
02/28/2025, 3:56 PMf21195ab-9bef-4e81-8b12-4844818f7b01
at sec 00:57 it got the data but never talks until I asked again about the AvailableTime.
json
{
"results": [
{
"toolCallId": "call_LbjUaWAd14gHJksWZJEiBOj9",
"result": "AvailableTime: 9-11, 2-4"
}
]
}
I’ve confirmed via the VAPI console that the data is being received correctly. However, after the data comes in, the agent doesn't proceed with the conversation automatically. When I query it about the data, it confirms that the information is present, but it doesn't use it to continue the dialogue immediately.
I have verified that there are no timeout issues and the webhook response is correctly formatted. I’ve also reviewed the configuration for synchronous tool calls, tool response handling, and prompt settings. Despite all these checks, the agent still stops after receiving the data.
Could you please help me troubleshoot this? Any insights or suggestions would be greatly appreciated.
Thanks in advance!
https://cdn.discordapp.com/attachments/1345062021741412534/1345062188636831796/image.png?ex=67c32e47&is=67c1dcc7&hm=5a792121269af2f4352fc19898e93bdbcee47b99ce3fdc1780e127b7939a3ce0&
https://cdn.discordapp.com/attachments/1345062021741412534/1345062189110923315/image.png?ex=67c32e47&is=67c1dcc7&hm=226a70c16d9ddec37c775d8f02cfa1454fbe473607775a113c2cd6b6a4282e07&Vapi Support Bot
02/28/2025, 3:57 PMtoolCallId
matches the expected format. The response should also have the correct content-type set to application/json
.
6. **Test with Static Data**:
- Try using static data in tests to isolate issues related to dynamic data handling. This can help determine if the problem lies with the data being sent.
7. **Review API and Server Configuration**:
- Check for any misconfigurations in API keys, access permissions, or any recent changes that might be affecting the agent's performance.
If you've gone through these steps and the issue persists, it might be worth simplifying the scenario to see if a basic setup works before gradually adding complexity back in. Let me know how it goes or if you need further assistance! 🌟
Sources:
- [VAPI Documentation on Webhook Configuration](https://docs.vapi.ai/customization/webhook-configuration)Vapi Support Bot
02/28/2025, 3:57 PM!Mohammad Ali
02/28/2025, 4:17 PMjson
{
"results": [
{
"content_type": "application/json",
"tool_call_id": "call_sgMzU8GIPlQmtiSAhjwJJk95",
"result": "AvailableTime: 9-11, 2-4"
}
]
}
or add it in the header?
anyways tried both and didnt work
and here is the test call id 6c18e117-3d27-43b8-8a32-85ff4e81d2ad
and toolCallId call_sgMzU8GIPlQmtiSAhjwJJk95
!Mohammad Ali
02/28/2025, 7:31 PM!Mohammad Ali
02/28/2025, 7:33 PMShubham Bajaj
03/03/2025, 5:46 AM