Connect - No Agent
# support
t
Hey there, call connects and lady says “thanks for trying our documentation” and then starts playing music. Added server url and secret under organization My make webhook is not triggering, the webhook response body has correct json with custom headers On postman json body returns status 201 created and no errors I only have 1 twilio number and it has the correct webhook url from make under: Vapi will send 'assistant-request' to your Server URL (https://hook.eu2.make.com/dqrds9zb) to fetch assistant. If I use { "assistant": } around json postman returns and gets the same lady message. Please advise "message": [ "property assistant should not exist" ], "error": "Bad Request", "statusCode": 400 }
v
Hi @Tarek Maximus, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Import Twilio Number]() * [Create Assistant]() * [Create Phone Call]() * [Update Assistant]() -----------------------------
### Answer It looks like you are encountering an issue where the webhook does not seem to trigger correctly, and you are receiving error messages indicating that the "assistant" property should not exist. Here are some steps and checks you can perform: 1. **Check Server URL Configuration**: Ensure that your Server URL is correctly configured to handle the
assistant-request
message type. The expected JSON object should contain the assistant details, but it should not be wrapped inside another "assistant" field. Verify the structure of your JSON response. 2. **Webhook Response**: Ensure that the response from your Server URL adheres to the expected format. For example, when Vapi sends an
assistant-request
to your server, the response should look something like this:
Copy code
json
    {
      "assistant": {
        "firstMessage": "Hey Ryan, how are you?",
        "model": {
          "provider": "openai",
          "model": "gpt-3.5-turbo",
          "messages": [
            {
              "role": "system",
              "content": "You're Ryan's assistant..."
            }
          ]
        }
      }
    }
Ensure there are no additional nesting or incorrect properties [(1)]() . 3. **Ensure Server URL is Correctly Set**: Double-check that the Server URL () is correctly set in your Vapi configuration, and it is correctly receiving the requests. 4. **Error Handling**: The error you're seeing,
property assistant should not exist
, suggests that the structure of the JSON does not meet the expected format. Ensure the JSON response from your server matches the schema Vapi expects. If the JSON response from your Server URL is as follows:
Copy code
json
{
  "assistant": {
    ...
  }
}
It should not be nested under another assistant field. If you have configured everything correctly and the issue persists, it could be worth reviewing the webhook setup and validating the response structure using a tool like Postman to ensure it matches the expected format.
Got it. Tagging @User for additional help.
t
Used json without wrapping, verified json structure, Checked server url configuration validated webhook response in postman but still same issue
s
did you added your server url at https://dashboard.vapi.ai/organizations ?
t
Yes I did, including secret
s
Can you remove that particular webhook url from all the other areas apart from the organization section
also send me the payload.
t
sent, thank you
4 Views