https://retellai.com/?utm_source=discord&utm_medium=seo logo
What causes Error: Duplicate edge ID
# ❓・ai-evy-support
b
@AI Evy What causes Error: Duplicate edge ID?
a
Thanks for tagging me @byredyre. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, I don't have specific information about the "Duplicate edge ID" error. However, from the conversation flow structure shown in the documentation [(1) ]() , each edge in a conversation flow requires a unique
id
field. The error likely occurs when multiple edges within the same node or conversation flow share the same
id
value. In the example structure :
Copy code
json
"edges": [
  {
    "id": "edge_1",
    "transition_condition": {
      "type": "prompt",
      "prompt": "Customer wants to book appointment"
    },
    "destination_node_id": "book_appointment"
  }
]
Each edge must have a distinct
id
. If you're creating multiple edges, ensure each one has a unique identifier. To resolve this, check your conversation flow configuration and verify that no two edges share the same
id
value.
​ To learn more, see the sources I considered: [[1] Get Conversation Flow](https://docs.retellai.com/api-references/get-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.