u
I am getting correct response back from my webhook using make.com but still assistant gives error message/ does not recognize the results. Any help will be appreciated. https://cdn.discordapp.com/attachments/1345055992874008687/1345055993117282304/image.png?ex=67c32882&is=67c1d702&hm=6de88e4057036651c3e04126c4ebbb33a4760c9e847341f03f05a5fd8d078f3b&
Any update?
v
It sounds like you're encountering an issue where the assistant isn't recognizing the results from your webhook, even though you're receiving a 201 response code. Here are a few things to check: 1. **Response Format**: Ensure that the JSON response structure matches what VAPI expects. The
result
key should contain the correct fields, including
toolCallId
and a non-empty
results
array. Since your
results
array is empty, that might be why the assistant isn't recognizing the response. 2. **Mismatched `toolCallId`**: Double-check that the
toolCallId
in your response matches the one sent in the initial request from VAPI. If they don't match, the assistant won't know which tool call the response corresponds to. 3. **Server-Side Errors**: Review your server logs for any errors that might indicate issues with processing the webhook request. Sometimes, server-side problems can prevent the correct response from being sent. 4. **Content-Type Header**: Make sure that the
Content-Type
header of your response is set to
application/json
. This helps VAPI parse the incoming data correctly. 5. **Testing**: Use tools like Postman or cURL to manually test your webhook and verify that it behaves as expected. If you've checked all these and are still having issues, let me know, and we can dig deeper! 😊 Sources: - [Common Reasons for Webhook Response Not Being Recognized by the Assistant in VAPI](https://discord.com/channels/1211482211119796234/1211483291191083018/1325000684231196775) - [Troubleshooting Webhook Response Issues in VAPI](https://discord.com/channels/1211482211119796234/1211483291191083018/1326809606671958080)
p
Hey! To help track down this issue, could you share: - The call ID This would really help us figure out what went wrong!