Tool not working
# support
s
i have two tools in my vapi agent one is working fine but one is getting error. I have ensure the data format to be same as in make but still its getting 400 error. Call id : a3ebe245-5a60-4641-9032-14ff0b1215f5 https://cdn.discordapp.com/attachments/1346451745093587056/1346451745223741470/Screenshot_2025-03-04_165637.png?ex=67c83c67&is=67c6eae7&hm=a1c831cf8182f2ece30ea89ec0a013dc3925d466ee674958e200461659db1b04&
v
It sounds like you're running into a frustrating issue with the
userEnquiryRegister
tool in your VAPI agent. A 400 error typically indicates a "Bad Request," which means the server couldn't understand the request due to some client-side error. Here are some steps you can take to troubleshoot this issue: 1. **Verify Webhook Configuration**: Double-check that the webhook URL configured in VAPI matches exactly with the one provided by Make.com. Even minor discrepancies can cause connectivity issues. 2. **Check Server URL Accessibility**: Ensure that the server URL is correct and accessible from outside your network. This can help rule out any network restrictions or firewall settings that might be blocking the request. 3. **Inspect Endpoint Configuration**: Make sure your server endpoint is set up to handle HTTP POST requests as expected. Refer to the Assistant Request documentation to ensure proper setup. 4. **Analyze Network Activity**: Use browser developer tools to inspect network activity when triggering the tool. Look for failed requests or error messages that could provide further insight. 5. **Test the Endpoint Manually**: Use tools like Postman or
cURL
to send a POST request to the endpoint directly. This can help verify its operational status independently of VAPI. 6. **Check Server and Application Logs**: Look into your server logs for any errors or warnings that may indicate issues when the webhook is called. 7. **Review Recent Changes**: If there have been recent changes to your configurations, review them to identify any modifications that could affect webhook functionality. 8. **Consult Documentation**: Double-check the VAPI documentation for the latest setup requirements and troubleshooting tips. If you've gone through these steps and are still facing issues, it might be helpful to reach out to VAPI support with the error logs and your configuration details for further assistance. Let me know if you need help with anything else! 😊 Sources:
- [Troubleshooting Server URL Errors in VAPI's
userEnquiryRegister
Tool](https://discord.com/channels/1211482211119796234/1211483291191083018/1334280135683084328) - [Common Causes of 400 Errors in VAPI Tools and Resolutions](https://discord.com/channels/1211482211119796234/1211483291191083018/1342459464346767492)
t
same problem here ,tool call just stops abruptly
p
Copy code
{
  "message": "Request failed with status code 400"
}

Status Code: 400

https://hook.us2.make.com/t3hxxxxxxxxx3j5lh2
@surya You’re getting a 400 status code from your make webhook URL. Please check your make webhook logs to see what’s causing the issue. Let me know if you have any questions.
s
@trx598 As we discussed again this was coming from make webhook.