https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> I keep getting this loop er...
# ❓・ai-evy-support
k
@AI Evy I keep getting this loop error while running a simulation despite the conversation going well: "Ending the conversation early as there might be a loop."
a
Thanks for tagging me @kalpo_68378. I'll look through relevant sources and get back to you shortly.
### Answer The "ConversationLoopError" occurs when Retell AI's loop detection system identifies that a conversation might be repeating or exceeding the utterance limit [(1) ]() [(2) ]() . This error appears even when conversations seem to be progressing normally [(1) ]() . Common causes and solutions: For Batch Testing: Try using batch testing as a workaround, as it skips the loop detection mechanism . You can find this under Simulation → LLM Simulation Testing → Batch test your agent in the Retell dashboard . For Conversation Flow: The error can be triggered when success criteria are too strict, even if the conversation isn't actually looping . Try relaxing your success conditions slightly . Loop Prevention Strategies: - Vary how the agent responds to avoid repeating the same phrasing - Track conversation progress to avoid circling back - Add clear end points to your conversation flow - Review your conversation design to ensure it includes clear exit conditions [(2) ]() Technical Details: The system halts conversations that exceed 100 utterances without termination to prevent resource exhaustion . This often results in blank simulation history . For Production Calls: The loop guard remains active in live calls, so implementing the prevention strategies above is important for production environments [(1) ]() . If your agent requires longer conversations by design and isn't actually looping, you can reach out to Retell support to potentially raise the limit or whitelist your use case .
​ To learn more, see the sources I considered: [[1] Simulation Tests – ConversationLoopError (Increase message limit)](https://discord.com/channels/1186424376300679209/1387066442276667517) [[2] "Error: The transcript might contain a loop that exceeds 100 utterances without termination."](https://discord.com/channels/1186424376300679209/1372446060592631838) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.