ERROR in Call log details: end-of-call-report Serv...
# support
f
This has happened a few times throughout the day. Call logs from some customers did not record in dashboard. These conversations with this error are not recorded and we have no way of getting transcript or recording of the full conversations. This example below is from one phone number. It looks like the customer has tried to call three times but we have no records, transcript or analysis information. Call ID: d92bdf4d-f0e4-44ee-ac26-7f136c89a524 Call ID: 4e92cf0e-31ac-4bf5-bd95-5b05712d362a Call ID: 5084a91f-f3ed-49de-97b6-b57263e01a5c
For call logs not appearing in the dashboard, can you record a loom video of it search call logs with call ID and not finding it?
f
Could you please help me identify how this error is related to 11Labs - could you please provide more context on the screenshot you shared? This will allow me to pinpoint what is happening and move forward to troubleshooting with 11Labs if need. Just need clarity on where this is pulled from in Vapi that clarifies 11Labs error. Thanks
v
The calls failed due to an error occurred from 11labs during the call. They are now aware of the issue, but the dashboard problem is different. I require the Loom for the dashboard so that I can share it with the team. Meanwhile, the 11labs issue is already in discussion with them.
f
I don't quite understand. You mentioned the calls I shared have been failing because of 11Labs error - I want to understand how this was identified to be an 11Labs issue for these calls? Is there something in the call logs that specifies this? I am not able to share Loom video for privacy reasons.
v
In our logs, 11Labs reported the aforementioned error message, which I have shared with you previously. Upon receiving this information, we promptly terminated the current call, as it could not be continued further. This occurrence serves as an indicator of an 11Labs issue for these calls. You can review this information in the call logs. If you wish, I can export the logs for your convenience and share them with you.
f
Hi @Shubham Bajaj as you mentioned this is an 11Labs issue that has been fixed - I will leave this query for now. We have not experienced this issue in the last two days. thanks!
Hi @Shubham Bajaj , we have had another two calls today with this error: 976a8469-e7ff-4bed-be0b-3be718357e83 a13ce0e3-34fc-48dc-9b68-f931e9e1b97c How can we investigate this further to understand the issue. Can you provide an export of the logs to show a link to 11Labs for these calls? And suggestion on what to do from here to fix the issue?
v
Call ID: a13ce0e3-34fc-48dc-9b68-f931e9e1b97c "endedReason": "customer-ended-call" Call ID: 976a8469-e7ff-4bed-be0b-3be718357e83 "endedReason": "customer-ended-call", @Beck sorry for the delay, can you check the call ID again these are not related to 11labs issue in discussion.
f
Hi @Shubham Bajaj , I just checked both calls and they are the correct ones - showing the same error as per the first calls of this Ticket. Both calls show "[ERROR] end-of-call-report Server URL Error: Request failed with status code 500" in logs
Hi @Shubham Bajaj , Urgently following up on this - been having this issue for 2 weeks with no solution. We've had another 3 calls today with this exact same error. Needing to find out what exactly this is and a solution ASAP as this is on a Live Assistant with a client. We need explanation for this. There are no call reports on these calls. [ERROR] end-of-call-report Server URL Error: Request failed with status code 500 These also say under "Ended Reason" - Vapifault transport neve... Call IDs: 4176cc7f-2314-41d3-9049-17f4c4c8c4b3 d2127be8-d5a3-49a4-9b25-7e11cef0b382 10067a06-cc34-4179-9308-9fd870c4518b
s
@firefly_0206 checking the call logs.
@firefly_0206 The end of call report 500 status code is coming from your side, I just checked it again we are sending the end of call report. Check your DM for the complete logs related to it
@firefly_0206 Now looking into the
vapi-fault-transport-never-connected
@firefly_0206 straight for you from team regarding
vapi-fault
Copy code
this happens each time we switch clusters, the worker can't come up fast enough
could also happen i guess if we're hit by a surge of traffic
f
Hi @Shubham Bajaj , thank you for the prompt response. We'll check on this with the team. And to help us understand the vapi-fault - how many calls can an Assistant handle at one time without fault?
s
This is something which happens rarely on side effects of switching b/w different clusters.
d
@Shubham Bajaj I have got to the bottom of what's going on in the server. An exception is being thrown by the API because an expected property that is available in the vast majority of end of call reports is the structured analysis data The exception thrown is
structuredData is missing in analysis
And this is in reference to the following structure in the end of call report; { message: { analysis: { structuredData: { } } } } Using the call ID 10067a06-cc34-4179-9308-9fd870c4518b. Are you able to tell me if the call analysis model is reliably consulted before the end of call report is dispatched?
s
@Doxy we wait for all call analysis node before gnerating and sending the end of call report.
d
@Shubham Bajaj understood, any idea why the structured data is missing from the payload? Is there anything we can do on our end?
@Shubham Bajaj Have you been able to identify the cause here? There is nothing in the end of call report that indicates that the structured call timed out or failed
We can also see in some cases the end-of-call report doesn't trigger at all, for example callId 32093a93-f44f-46ad-81a6-8905f626b056, cd731424-63bb-4879-b89e-211fbf9e9705
s
For the first call ID shared.
Copy code
"type": "end-of-call-report",
  }
`
This is for the second call ID.
Copy code
"type": "end-of-call-report",
@Doxy as you can see the strucutredData is part of end of call report. If it's missing for some of the calls then that is timeout issue increase it will resolve the issue as sometimes needs more time to generate results.
The null is another prompting issue.
d
@Shubham Bajaj Understood. If you wouldn't mind, can you please remove these messages now that they are seen. The structured data was missing when this payload was sent to the server * Does this mean there's a race condition where the end of call report is dispatched before the request to populate the structured data is complete? * If we increase the timeout on the structured data call, will this cause the end-of-call report to be delayed? * Is there a way we can cause the end-of-call report to wait indefinitely until the structured data has been resolved? The nulls are expected we can account for this Can you please help me understand the timeline of events here.
j
Also having this issue with end of call reports not being received. Is there any fix?
s
NO there is no race condition instead it takes time to process so increasing the time will fix it for you. Try increasing the timeout it will work.
d
@Shubham Bajaj ok understood. If the application fails to resolve the structured data in the timeout period, will it be attempted a second time?
s
@Doxy It will be attempted only once. The maximum timeout is 60 seconds. Rest assured, if set to 60, you will always get the structured data without a doubt.
d
Ok thanks
s
@Doxy if you have more doubts let me know, I can spin up an document for you....