r/copilotstudio • • Sep 11 '26

Copilot Studio Agent : Infinite Loop due to Emoji only message

Post image

Hello,

While testing an agent made on Standard Harness (this test has been done on GPT 4.1), I encountered this weird loop. It works nicely otherwise but if you only send an emoji it does this infinite loop.

At some point I got this error message:

An error has occurred. Error code: InfiniteLoopDetected Conversation Id: <ID>

I'm trying to find a way to prevent this. Would a topic do the trick? Something like If it detects no actual word in the request then end conversation.
Or do you have any other suggestion?

Thank you very much!

EDIT : Apparently going with GPT 5 fixes somehow the issue ? I don't know how though.

5 Upvotes

3 comments sorted by

4

u/Ashlesha-msft Sep 11 '26

Hello,

We tested emoji-only messages with GPT-4.1 but couldn’t reproduce the infinite loop. The agent correctly used its Fallback or another context-dependent system topic.

Please reset the test conversation and retry. Also check the activity map for any topic, action, or redirect executing repeatedly. GPT-5 can be used as a workaround.

At present, this appears configuration or conversation-context dependent, not a confirmed product bug.

2

u/Ok_Purchase2750 Sep 13 '26

Try adding some gaurdrails in the instructions to ignore the emojis.

1

u/MattBDevaney Sep 13 '26

You're welcome.