@Benjamin Drury
It seems like there was an error with the API request you made. A status code 400 typically indicates a bad request, which means there might be something wrong with the input parameters or the structure of the request.
To help you better, could you please provide more details about the request you were trying to make? Specifically, I need to know what action you were attempting to perform with the VAPI so I can guide you through the correct process or help troubleshoot the issue.
Vapi
11/13/2024, 2:16 PM
You can continue this conversation by mentioning me in the message.
Vapi
11/13/2024, 2:16 PM
Got it. Tagging @User for additional help.
b
Benjamin Drury
11/13/2024, 2:18 PM
const res = await this.vipiPost('/call', {
name: callName,
assistantId: vipiAssistantId,
phoneNumberId: outgoingPhoneNumberId,
customer: {
number: receiverPhoneNumber,
},
assistantOverrides: {
variableValues: data,
},
});
I think it is related to the variableValues. Because most of my call inits work. but some fail. But both variableValues fully strings.
user: "{}"
emails: "{}"
s
Shubham Bajaj
11/16/2024, 3:40 PM
Hey @Benjamin Drury apology for the delayed response, your ticket was marked as looking automatically because of it couldn't get to know about it.
@Benjamin Drury checking if this is solved for you or still required help.
If you require help please share the complete CURL or code yourusing to make the API request.
b
Benjamin Drury
11/16/2024, 4:04 PM
Hey! I’m not at my computer now until tonight but the error persists