!!URGENT SUPPORT NEEDED! Function calls suddenly s...
# support
d
We are working on an application where we are using function calls in vapi. But it suddenly stopped working somehow. Its really urgent.
v
Hi there! I understand you're facing an urgent issue with function calls in Vapi suddenly stopping. Let me help you troubleshoot this! 🔍 I don't have visibility into your specific application setup, but I can definitely provide some troubleshooting steps that should help identify and resolve the issue. ## Common Causes & Troubleshooting Steps ### 1. Check Your Logs First Start by checking your function call logs in the Vapi dashboard: - Go to [dashboard.vapi.ai/calls](https://dashboard.vapi.ai/calls) - Navigate to "logs > calls" in the left sidebar - Look for any error messages related to your function calls - Copy the Call ID for any problematic calls for reference ### 2. Check Recent Configuration Changes According to [information from Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334114042876264518), function calls can sometimes stop working after configuration changes: - Review any recent changes to your assistant's configuration - Check if
endCallFunctionEnabled
is set to true in your dashboard (this has been a common issue according to [user reports](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1313293840580612166)) ### 3. Verify Webhook Configuration Function calls often fail due to webhook issues: - Check that your webhook URL is correct and accessible - Verify your server is properly processing HTTP requests and sending back appropriate JSON responses - Test your endpoint manually using a tool like Postman or cURL - Look for any network or authentication issues ### 4. Check for Data Format Issues Make sure the data structure being sent from VAPI matches what your webhook expects: - Review the function parameters to ensure they're correct - Check for any formatting issues in the data being sent ### 5. Recent Updates That Might Affect Function Calls Recent Vapi updates that might impact function calls include: - Changes to Hooks in Workflows
- New option to block messages before tool calls with
ToolMessageStart.blocking=true
- Improved error messages for certain processing pipelines ### 6. Debug Using Logs Use debugging techniques to trace the issue: - Check execution order of your blocks - Verify variable scope and accessibility - Ensure synchronous execution if order matters - Review server logs for detailed error information Can I help you investigate any specific part of this troubleshooting process or provide more details on any of these steps? Sources: - [Discord discussion about function call issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334114042876264518) - [Discord thread about endCallFunctionEnabled setting](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1313293840580612166) - [Discord thread about webhook configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336345690393149452) - [Discord thread about debugging techniques](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1315677399026765855) - [Vapi dashboard logs access information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1340404440892444742)
k
Please provide your call id
@drecothea
d
its fixed
k
Marking this ticket as Solved ✅
2 Views