https://retellai.com/?utm_source=discord&utm_medium=seo logo
Critical Bug: Agent executing deleted node ("BACH ...
# ❓・bug-report
a
Hello Retell Support Team, I am encountering a critical issue where the agent is executing logic and nodes that have historically been deleted and do not exist in the currently published version (Version 2). Specifically, a node named "BACH Q" was removed from the flow, yet the agent continues to transition to it during live calls. Identification Details: Organization ID: org_mDsWnQRksZj2fT5J Agent ID: agent_c149847e1f0762bd9581a3738f Affected Call ID: call_bd48c7655993b37206d1034bd91 Timestamp: 2025-11-26 17:08:13 Log Evidence: The logs explicitly show a transition to the deleted node: 2025-11-26 17:08:13.255 ... Transitioning from ... to node component-node-... (name: BACH Q) Troubleshooting steps taken (Unsuccessful): Confirmed the node is physically gone from the visual editor. Cleared browser cookies and cache. Tried a different browser. Test Module Issue: When attempting to debug using the "Test" chat module, it persists in using old temporary files and cached variables. It does not allow for a clean simulation and uses stored data that does not correspond to the current debug attempt. Current Workaround: The issue was only resolved by cloning the agent/flow completely. However, I need to understand the root cause and how to fix this on the original Agent ID without cloning, as changing IDs disrupts our integrations. Request: Please investigate why the original agent_id is retaining a stale version of the graph and how to force a backend refresh to purge deleted node references. https://cdn.discordapp.com/attachments/1443303460844863508/1443303461222613124/message.txt?ex=694249d8&is=6940f858&hm=6fd67ec9cb9a8535291524218a1fb6accfffb79bc0a28053301e5c1d314146f9&
@Omar Ashraf | Community Lead Hiii
o
Hi @asfdvszfdv
I see in this call you were using version 2 , which still had this node , maybe you deleted it and didn't publish or assgin the new agent version to the phone number.
a
The error manifests inside the test module.