"assistant-request" webhook returns correct assist...
# support
a
Hi there! Everything was working fine till like 2-3 days ago. Now when I call and get the "assistant-request" webhook to my server, I can see in vapi that it returns correctly the payload, but on the phone the voice tells me that there couldn't be found any assistant. Images attached. Thanks for helping! https://cdn.discordapp.com/attachments/1333350360932421682/1333350361217503253/Screenshot_2025-01-27_at_09.17.44.png?ex=679892ca&is=6797414a&hm=e86bf664742f5a7468c45561cded5a6b6cd8bdc02bfe97b9cf90446a19c5d317& https://cdn.discordapp.com/attachments/1333350360932421682/1333350361616089119/Screenshot_2025-01-27_at_09.17.30.png?ex=679892ca&is=6797414a&hm=67b9ca826452634246bfb735b376cb41d769d2f268439ee9b6bf0b69940ed400&
v
message has been deleted
@Armin Hello! I'm sorry to hear that you're experiencing issues with the "assistant-request" webhook. It seems like there might be a discrepancy between the payload being returned to VAPI and what VAPI expects to receive. To assist you better, could you please provide me with the payload that your server is returning in response to the "assistant-request"? This will help me understand if the format is correct and if all necessary fields are included. Once I have that information, I'll be able to guide you more effectively towards a resolution.
You can continue this conversation by mentioning me in the message.
a
This is the body being returned: { "message_response": { "assistant_id": "c919cd87-7137-4227-bd1e-64debb476da7", "assistant_overrides": { "first_message": "yooooo Armin whats good, how has the week been?", "model": { "messages": [ { "role": "system", "content": "\n \nAct as a voice ai assistant.\nProvide answers based on the user context, ensuring they match the user’s request.\nMake sure to always follow the provided custom instructions.\n\nYou can use the user data in the system prompt to get infos about their email, name etc. Sometimes even orders are attached.\n\nSometimes the info about the user's request is already in the context so check that before you are calling any tools.\n\nSpeak in German preferably!\n\n\n ### Chatbot Instructions\n \n\n ### Chatbot Knowledge\n \n\n ### User Data\n Firstname: Armin\n Lastname: Daryabegi\n Email: armin@chatarmin.com\n Phone: +436763941799\n Orders: \n ID: 5977283068143, Name: #1049, Amount: 2629.95\n " } ], "model": "gpt-4o-realtime-preview-2024-12-17" } } } }
@Vapi please can we escalate to an agent
v
@Armin Certainly! I'll go ahead and escalate this to an agent who can assist you further. Please hold on while I make the arrangements.
a
The action says "Interaction failed"
Hello?
s
@Armin Your missing the provider in your assistant overrides, add it as openai and then it will work. Do let me know if you require further help.
Copy code
🔵 13:43:48:066 Couldn't Validate Input. Errors:
[
  "assistantOverrides.model.provider must be one of the following values: openai, azure-openai, together-ai, anyscale, openrouter, perplexity-ai, deepinfra, custom-llm, runpod, groq, vapi, anthropic, google, xai, inflection-ai, cerebras, deep-seek"
] Input:
{
  "assistantId": "c919cd87-7137-4227-bd1e-64debb476da7",
  "assistantOverrides": {
    "firstMessage": "yooooo  Jeremiah whats good, how has the week been?",
    "model": {
      "messages": [
        {
          "role": "system",
          "content": "\n                \nAct as a voice ai assistant.\nProvide answers based on the user context, ensuring they match the user’s request.\nMake sure to always follow the provided custom instructions.\n\nYou can use the user data in the system prompt to get infos about their email, name etc. Sometimes even orders are attached.\n\nSometimes the info about the user's request is already in the context so check that before you are calling any tools.\n\nSpeak in German preferably!\n\n\n                ### Chatbot Instructions\n                \n\n                ### Chatbot Knowledge\n                \n\n                ### User Data\n                Firstname: Jeremiah\n                Lastname: Ajayi\n                Email: lovinjerry004@gmail.com\n                Phone: +2349073182162\n                Orders: \n                No orders\n                "
        }
      ],
      "model": "gpt-4o-realtime-preview-2024-12-17"
    }
  }
}
a
Thanks!
3 Views