Meeting ended due to ejection: Meeting has ended
# support
a
{action: 'error', errorMsg: 'Meeting has ended', error: {…}, callClientId: '17585372376540.6824175123858077'}action: "error"callClientId: "17585372376540.6824175123858077"error: {type: 'ejected', msg: 'Meeting has ended', details: undefined}errorMsg: "Meeting has ended"[[Prototype]]: Object Getting the error on frontend whenever agent is trying to end the call
v
Suggestion: Handle the "Meeting has ended" event on your frontend by checking for this message and displaying a user-friendly notification instead of treating it as an error. For example:
Copy code
js
if (errorMsg === "Meeting has ended") {
  // Show a friendly message or redirect
  alert("The call has ended. Thank you for joining!");
  // Optionally, redirect or update UI state here
}
This ensures users are not confused by an error popup when the call ends normally. Source: - [Customer join timeout documentation](https://docs.vapi.ai/calls/customer-join-timeout)
a
{action: 'error', errorMsg: 'Meeting has ended', error: {…}, callClientId: '17585372376540.6824175123858077'}action: "error"callClientId: "17585372376540.6824175123858077"error: {type: 'ejected', msg: 'Meeting has ended', details: undefined}errorMsg: "Meeting has ended"[[Prototype]]: Object https://cdn.discordapp.com/attachments/1419633585803104378/1419634531241295963/image.png?ex=68d2792f&is=68d127af&hm=cf95dee483b93eb20ee271204296f15352ccf00504a72bc2476443f4e309ed8e& https://cdn.discordapp.com/attachments/1419633585803104378/1419634531832696974/image.png?ex=68d2792f&is=68d127af&hm=dde77c119ba21b1aba7e08a46a9aa476bb90a2b294e6733d9608ca1c5c48f732&
b
I'm also experiencing this issue, did you check the call instance in your vapi account?
a
It's more of their implementation issu,e I feel like
c
Hey! To help track down this issue, could you share: \- The call ID \- When exactly this happened (the timestamp) \- What response you expected to get \- What response you actually got instead This would really help us figure out what went wrong!
a
- The call ID - can be replicated on any call id (repo link - https://github.com/VapiAI/example-client-javascript-react/blob/master/src/features/Assistant/useVapi.ts) - When exactly this happened (the timestamp) - whenever agent ends the call using tool call thats provided by vapi - What response you expected to get - No error like how elleven labs handle - What response you actually got instead - Error on frontend so mostly sdk issue. (React)
3 Views