few-sapphireF

HTTP Request error

I am getting this error in make when I use http request to invoke my vapi assistant to make batch calls, and can't seem to resolve it. I hope someone can help. Essentially, I am trying for vapi to make outbound calls but I want the vapi assistant greet the person by their name. So it pulls the name and number from a google sheet.

DataError
Error: 400 Bad Request
{"message":"Expected double-quoted property name in JSON at position 87 (line 7 column 1)","error":"Bad Request","statusCode":400}

Origin
HTTP

When I check the request content to see where the error is the code looks good

{
"customers":
{
"number": "+18682681055",

"name": "Jerome",
}
"phoneNumberId": "xxxxxxx-xxxxxx-xxxxxxx-xxxxxxxxxx",
"assistant": "{"0":"Jerome","4":"","7":"+18682681055","id":"55469a2b-cf27-4ad1-8579-41387f6d3f23","name":"Debt Recovery (Outbound)","model":{"model":"gpt-4o-mini","messages":

I hope someone can help.
Was this page helpful?