Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Answered

Calling flow fails with error: InfiniteLoopInBotContent

(0) ShareShare
ReportReport
Posted on by 9

Hi,

 

I'm building a chatbot with Microsoft Copilot Studio. 

 

I am calling 2 different flows from my app. 

One of them posts a message in a Teams Channel. 

Calling this flow was working great but it began to fail yesterday.

I'm getting the error: main.invokeFlowAction_5niQa7 was executed more than 100 times in a row. This indicates a cycle in execution of the dialog and hence dialog execution will be terminated. Error Code: InfiniteLoopInBotContent

 

From the wiki, I've made sure that all topics end properly. 

I've also removed the Flow Call and the error didn't appear.

Adding back the Flow Call, bring the issue back too. 

I removed the old flow and created a new one, and it gave me the same issue. 

The other topic that I'm calling is working fine (collects data from a SP list)

 

So, I'm sure the issue is with this flow, but I don't know how to fix the issue or how to reset all previous sessions so they can properly end. 

 

Any ideas how to fix this?

 

Here is how the topic looks:

marc_sysco_0-1700774413514.png

marc_sysco_1-1700774451175.png

 

 

 

  • Verified answer
    marc_sysco Profile Picture
    marc_sysco 9 on at
    Re: Calling flow fails with error: InfiniteLoopInBotContent

    Hey, 

    I figured it out. 

     

    I added this chatbot to a custom website, so I enabled authentication. 

    To run the flow, user needs to be authenticated, however the authentication section on the Sign In Topic was missing. So, I added it again, and now it's working

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics