Hi, I'm getting this error when creating a call th...
# general-english
v
Hi, I'm getting this error when creating a call through the VAPI API: The following is the response: { "error": "Bad Request", "message": [ "id must be a UUID" ], "statusCode": 400 } The following is the body of the request: vapi_call_payload = { "maxDurationSeconds": 1800, "assistantId": assistant_id, "customer": { "number": f"{number}", "name": f"{name}", "extension": "+1" }, "phoneNumber": { "twilioPhoneNumber": os.environ["VAPI_TWILIO_NUMBER"], "twilioAccountSid": os.environ["VAPI_TWILIO_SID"], "twilioAuthToken": os.environ["VAPI_TWILIO_AUTH_TOKEN"], "name": "", "assistantId": f"{assistant_id}", "serverUrl": "", "serverUrlSecret": "" } } What am I missing here?
9 Views