Hello Vapi Support Team,Not Getting Data from Vapi...
# support
a
Hello Vapi Support Team, I have configured a custom tool with a Make.com webhook and connected it to a function that should trigger when the customer asks for an order status. In the assistant's prompt, I've set it up to call the function "OrderStatus," which should trigger a webhook to send data to Make.com. However, I am encountering an issue where no data (parameters) are being sent to Make.com, and I am receiving the following error in the call logs: "status-update Server URL Error: Request failed with status code 400." Could you please help me understand the following: What could be causing this 400 error, and how can I resolve it? How can I ensure that the correct data (parameters) are being sent from Vapi to Make.com? Is there any specific format or structure required for the data to be successfully transmitted via the webhook? I have attached a screenshot of the issue for reference: [screenshot link]. Thank you for your assistance. Best regards, Amir Ali
v
@amirjahfar Hello Amir Ali, I'm here to help you with the issues you're facing with your webhook integration. 1. A 400 error typically indicates that there's a bad request being sent to the server. This can be caused by several factors, such as missing parameters, incorrect data types, or an invalid request format expected by Make.com. 2. To ensure that the correct data (parameters) are being sent from VAPI to Make.com, you need to verify that the data structure in your VAPI configuration matches the expected structure by Make.com. Make sure that all required fields are included and that they are in the correct format. 3. The specific format or structure for the data to be successfully transmitted via the webhook depends on the API documentation of Make.com. Generally, you would need to send a JSON payload with the correct key-value pairs as expected by the Make.com endpoint. Since you've attached a screenshot of the issue, I would normally review it to provide more specific guidance. However, as a text-based support bot, I can't view screenshots. Here's what you can do to troubleshoot the issue: - Double-check the data you're sending against the Make.com API documentation. - Ensure that all required parameters are included in your request. - Validate the JSON format of your payload. - Review any data type requirements for the parameters you're sending. If you've already checked these and are still facing issues, it might be helpful to provide me with an example of the data structure you're trying to send, and I can assist you further in ensuring it's correctly formatted. If you need more detailed support or if the issue persists, please ask support for more info on this. Best regards, VAPI Support Team
You can continue this conversation by mentioning me in the message.
a
how can i send the json payload, there is no option in the vapi new verison to send test payload. Please guide.
s
@amirjahfar can you share call id?