jay
04/03/2025, 5:31 PMVapi Support Bot
04/03/2025, 5:32 PMassistant.id
and assistant.parentId
in the end-of-call report and the changing payload structure in your server webhook.
I'm unable to determine the exact reason why this is happening randomly for your specific agent updates. However, I can definitely help with information about these known issues in Vapi!
Based on the information I found, this is a recognized issue where agent updates can cause missing data in end-of-call reports and changes in webhook payload structures. Several other users have reported similar problems after updating their agents.
## Missing Assistant IDs in End-of-Call Reports
This exact issue has been reported by other users, where assistant.id
and assistant.parentId
stop appearing in the end-of-call report after an agent is updated and published from the UI. According to the information I found, this happens "quite randomly when an agent is updated and published from UI" - matching your experience exactly.
## Changes in Webhook Payload Structure
The sudden change in payload structure in the server webhook after agent updates is also a documented issue. After making updates to an agent, the payload structure in the server webhook to the backend can unexpectedly change.
## Potential Causes
Several factors might contribute to these issues:
1. **PATCH Request Behavior**: When updating an assistant using PATCH requests, nested properties can be overwritten by default. To preserve all properties, both updated and previous properties must be passed in the request.
2. **Reverting to Older Versions**: Updates can sometimes cause an assistant to revert to a previous version, which can lead to unexpected behavior.
3. **Configuration Issues**: Agent updates can lead to configuration issues that affect data transmission.
4. **API Changes**: Updates to the Vapi API itself can cause changes in the expected payload structure.Vapi Support Bot
04/03/2025, 5:32 PMjay
04/03/2025, 5:37 PMjay
04/03/2025, 5:38 PMKINGS BIG
04/06/2025, 9:09 AM