I'm experiencing this same issue on useast2 as
@Mario did.
I also need swedencentral for my implementation but I read in the post link below that some new models arent available in swedencentral yet so I decided to test with eastus2 while waiting, but getting the same thing.
I struggled for a day to get Azure to connect under providers, and eventually found that I had to remove the version number "https://
.openai.azure.com/openai/deployments/gpt-4o/chat/completions?api-version" and If I added the OCP-APIM-Subscription-Key Header it will
not connect.
I had to leave OCP-APIM-Subscription-Key blank and only add the end-point url and api-key in the Azure OpenAI provider settings for it to work.
Could this be the problem?
I havent used a knowledge base yet. like
@Mario has.
I also read the error "An error occurred in this call: pipeline-error-azure-openai-llm-failed" which I'm getting in the logs could be related to an incorrect api-version. How does Vapi know what the api-version is if its not given in the provider settings? I can get the call to work in Postman with the api-version=2025-01-01-preview
I get the same error "Exiting meeting because the room was deleted ", when I start the call I get the first message, I respond but get nothing back from Azure eventually erroring out after 30-40 seconds.
I'm trying to narrow down the problem, and looking at these three possiblities:
- eastus2 also has models that arent supported like swedencentral?
- removing api-version"=2025-01-01-preview" from the endpoint-url works to connect but how do I check which api-version Vapi is using calling Azure?
- The only way I can connect the provider is by leaving the OCP-APIM-Subscription-Key blank, is this fine? Adding the subscription-key causes 401's and I have checked the subscription keys are correct, so not sure why I'm getting that error.
https://discord.com/channels/1211482211119796234/1343704609096601693/1343704609096601693