Failed to retrieve data by using tool call
# support
c
@User I am facing an issue with the tools function. I have set up the tool and linked it with a scenario in Make.com. The tool call runs successfully and the scenario in Make.com shows that it is sending the data back to VAPI. However, VAPI is not able to retrieve the data. It repeatedly says "It will take a sec" or "Just a sec" and does not provide any response. I am also attaching the screenshots of that scenario. https://cdn.discordapp.com/attachments/1265360115238830133/1265360116060786708/20240723_222549.jpg?ex=66a139f0&is=669fe870&hm=d0490549e80db8b0517996c9216a286563cfffb211ec2914cf68919d23e8c778&
v
@Ch Adeel I'm here to help you with your issue! It sounds like there might be a problem with the way the data is being sent back to VAPI or how VAPI is processing the response. To assist you better, I would need to check the specifics of the HTTP request and the response that is being sent from Make.com to VAPI. Could you please provide me with the details of the HTTP response that Make.com is sending? Make sure that the response is in the correct JSON format as expected by VAPI. The response should look like this:
Copy code
json
{
    "results": [
        {
            "toolCallId": "X",
            "result": "Y"
        }
    ]
}
Ensure that
X
is replaced with the actual
toolCallId
and
Y
with the actual result you want to send back to VAPI. If the format is correct and you're still facing issues, there might be a problem with the server configuration or network connectivity. If you're unable to resolve the issue with this information, please provide the HTTP response details, and I'll do my best to assist you further. If the issue persists, you may need to ask support for more info on this.
You can continue this conversation by mentioning me in the message.
c
{ "results": [ { "toolCallld": "call_3QjqS6UNvT9fObSKn3ByUwcw", "result": "These are the available slots on that day: The calendar contains no busy slots. Available times between 9am and 4pm: - 9am to 4pm" } ] }
v
Got it. Tagging @User for additional help.
s
@Ch Adeel call id please.
c
fffda9ca-268a-4f77-bf8b-c23e76eb6339
s
it looks like response never came back to the vapi for tool call.
can you please share the complete workflow ss.
u
in here, u cant add the extra enters between "no busy slots" and "available times", if you remove the spacing then it will fix it
c
Yes I think that was the issue now it is working good thanks for your help
3 Views