End-of-call-report without server credential
# support
o
I observed following inconsistency when an end-of-call-report is sent: When the endedReason == 'twilio-failed-to-connect-call', then the set server credential is missing. For other ended reasons on the same assistant, the end-of-call-report includes the right credentials as expected. Background: - I used the new 'server.credentialId', not the 'isServerUrlSecretSet'. - I received the end-of-call-report with the correct credentials at my server URL as expected when testing via a webCall (or live examples, see below). Data: - Example with error observed: call ID: e573b330-ac35-4872-988e-142bf70742e1 - Example without error: call ID: 688af10c-4a3e-457f-b6ae-1518e5715beb - Assistant ID: b41baaac-3770-4619-a90e-5278d1f06b80 https://cdn.discordapp.com/attachments/1412685755242778734/1412685755771392090/Screenshot_2025-09-03_082554.jpg?ex=68b931a2&is=68b7e022&hm=3dcae5ee51043dc33867928f754ba9ff51b80b5c9b09bd6ffe0d84813bf20f24& https://cdn.discordapp.com/attachments/1412685755242778734/1412685756375498802/Screenshot_2025-09-03_082819.jpg?ex=68b931a2&is=68b7e022&hm=9dd9f81738b69a42fb46232ee6ce56801be144a6e5970cb13a73d3afe9703d59&
v
It appears that when the endedReason is
twilio-failed-to-connect-call
, the server credential (
x-vapi-secret
) is missing from the end-of-call-report, while it is present for other reasons. This specific behavior is not documented, so the best next step is to contact Vapi support with your call ID and account details for investigation. You can do this via the [Vapi support page](https://docs.vapi.ai/support). Example support message:
Copy code
Subject: Missing x-vapi-secret on end-of-call-report for 'twilio-failed-to-connect-call'
Call ID: e573b330-ac35-4872-988e-142bf70742e1
Assistant ID: b41baaac-3770-4619-a90e-5278d1f06b80
Sources: - [Call ended reasons](https://docs.vapi.ai/calls/call-ended-reason) - [Vapi Support](https://docs.vapi.ai/support)
Suggestion: Since the documentation expects the server credential to be included in all end-of-call-report webhooks but does not mention exceptions for 'twilio-failed-to-connect-call', this may be an unexpected behavior. - Action: Please report this issue to Vapi support with your call and assistant IDs, as it could be a bug or an edge case not covered in the current API documentation. Example support message:
Copy code
text
Subject: Missing server credential in end-of-call-report for 'twilio-failed-to-connect-call'
Details: [Include your call IDs, assistant ID, and observed behavior as above]
[Reference: Vapi API documentation](https://docs.vapi.ai/api-reference/assistants/create?explorer=true) Source: - [Vapi API documentation](https://docs.vapi.ai/api-reference/assistants/create?explorer=true)
2 Views