Web Call integration not working in javascript

I’ve been trying to integrate the Vapi Web SDK into my platform so I can start a web call directly from a button in my app, but I’m running into issues. so i want to know if the SDK is still usable for web calls with agents, i do have the ID of the agent and the public key of the Vapi environment and i did follow the documentation (https://docs.vapi.ai/quickstart/web), but unfortunately the call starts and ends quickly and i get a "meeting Ended: ejected from meeting". I want to know if there's a correct way to integrate web call in my app. Any help is appreciated !
Was this page helpful?