web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / "Infinite Loop in Bot ...
Copilot Studio
Unanswered

"Infinite Loop in Bot Content" error but no error in Topics

(0) ShareShare
ReportReport
Posted on by
I am trying to build a chatbot for our company's website, and I've built topics so far around sick days, pto, and holidays. I built the topic so that when someone enters a phrase around any of these three topics, it will trigger a question that asks "Where are you located?"
 
I have set up a custom entity called "Employee Location" with "US based" and "India based" as the two options. For each of the above mentioned topics, I added "Employee Location" in the "Identify" section of the triggered question. I also created a variable called "VarLocation" to save user responses.
 
Branching down from my question, I added two conidtions: "VarLocation is equal to US based" and "VarLocation is equal to India based". Based on what the user selects, it should trigger a message describing the sick day/pto/holiday policy based on their location.
 
I have no errors in any of these three topics. However, when I try to test the agent by typing in "how many sick days do we get?" for example, it gives me this error message: "Error Message: Action cr56b_liventusSharePointAssistant.topic.SickDays.main.question_sZZJzF was executed more than 500 times in a row. This indicates a cycle in execution of the dialog and hence dialog execution will be terminated. Error Code: InfiniteLoopInBotContent Conversation Id: cd5f13da-cacf-4862-ad88-b526a2d8dd4b Time (UTC): 2024-12-03T17:29:50.193Z"
 
I don't understand what the issue is or how to fix it, as none of my topics have any errors and every tutorial I've looked at makes it seem as though I've set my topics up correctly. Any help would be much appreciated. Photos of "Sick Days" topic attached for reference.
I have the same question (0)
  • Suggested answer
    Artur Stepniak Profile Picture
    1,534 Super User 2025 Season 2 on at
    "Infinite Loop in Bot Content" error but no error in Topics
    Hello,
     
    have you tried to use "End topic" in the topics that you've prepared, so that it gets cleaned? Maybe it goes into an infinite loop due to not ending the topic/not redirecting to any other topic.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 265 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 257 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 84 Super User 2025 Season 2

Last 30 days Overall leaderboard