I am working on VAPI function calling. Let me tell you what I have done so far.
My goal is to create an AI call assistant that will take some information from users and store the data in Google Sheets through VAPI function calling.
So I have created a Flask app that sends the data to Google Sheet and I deployed the app on my local computer by Ngrok. And generated a public URL for VAPI.
The Flask app receives data and sends them into Google sheet if I use any Curl like Postman.
But when I put the URL in VAPI make a phone call, and then give data, it call the function by server URL but can't fetch the data from the user.
I have given you the error text I got in my terminal.
[2024-06-11 20:24:02,489] INFO in app: Received Name: None, DateTime: None, Occasion: None, Number of People: None
127.0.0.1 - - [11/Jun/2024 20:24:02] "POST /reserve HTTP/1.1" 400 -
Anyone can help me?