Assistant no longer sending assistant.id or assist...
# support
j
This happens quite randomly when an agent is updated and published from UI. Our other agents are working fine but since last few days we have noticed when we make any updates to the agent, they suddenly change the payload structure in the server webhook to our backend.
v
Hi there! 👋 I understand your frustration with the missing
assistant.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.
Is there anything specific about these issues you'd like me to elaborate on further? Sources: - [Impact of agent updates on assistant.id in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336023224898814012) - [Impact of agent updates on assistant.parentId in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336023224898814012) - [Impact of agent updates on end of call report in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332286268805087272) - [How agent updates affect payload structure in Vapi server webhook](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341204221826957432) - [Known issues with data transmission after agent updates in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1331035264751112202)
@Vapi
k
checking if this is resolved/solved for you?