Cannot create outbound call
# support
t
Getting 400 Bad request
v
@Talha It looks like you've put together a detailed JSON payload for creating an outbound call. However, if you're experiencing issues with making the request to the
/call/phone
endpoint, there could be a few reasons why it's not working. Here are some steps you can take to troubleshoot the issue: 1. **Check API Credentials**: Ensure that you are using the correct API credentials and that they have the necessary permissions to make outbound calls. 2. **Validate JSON Payload**: Make sure that your JSON payload is correctly formatted and all required fields are included. Also, replace placeholders like `{{2.
7
}}` and `{{2.
8
}}` with actual values. 3. **Endpoint Availability**: Verify that the
/call/phone
endpoint is available and correctly spelled in your request URL. 4. **Network Issues**: Check for any network connectivity issues that might be preventing the request from reaching the server. 5. **Server Status**: If there's a server-side issue, such as a 502 or 504 Gateway Error, this could be causing the problem. You might need to wait until the server issue is resolved. 6. **Rate Limits**: Ensure that you haven't exceeded any rate limits that might be in place for making outbound calls. 7. **Error Messages**: If you're receiving any error messages, they can provide clues as to what's going wrong. Please share any error messages you're getting for more specific guidance. If you've checked all of these and are still having trouble, please provide any error messages or codes you're receiving, and I can assist you further. If you're seeing a specific error related to the VAPI services, such as a rate limit exceeded or a gateway error, please let me know so I can provide more targeted assistance.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
looks like you messed up with call payload. share the call payload with values truncated.
t
It's fixed now, thanks for the reply.
Can you reply to my latest thread please?
o
@Vapi I get the following error message when I try to connect Vapi to Make and call it via a phone. "model.message.each value in nested property messages must be either object or array." Can someone help me.out?
v
@Ok25 I'm glad to hear that the issue has been resolved. If you have any more questions or need further assistance in the future, feel free to reach out. Have a great day!
o
Its not solved
2 Views