Skip links

Why does an infinity symbol ∞ appear?

Infinite loop problem

Your chatbot is stuck in an infinite loop, meaning that you are sending it to the next sequence via a redirection or condition, which then sends it back to the previous sequence.

Sequence A -> Sequence B-> Sequence A -> Sequence B

So he goes round in circles and informs you of this Carefully check your redirects or the status of variables in conditions.

These ‘infinite loop’ errors are also logged in the Bot’s error console with a hint about the sequence causing the infinite loop.

A message in the conversation with the last sequence played is also displayed so that users can inform you about it or read it during your own tests.

However, this is not the complete solution to your botmaker problem because, to complete the loop, you need at least two culprit sequences. There may be many more, such as Seq A->B->C->D->E->A, and, above all, this may be due to a complex condition in these sequences, itself based on variables whose value may change depending on each user. In short, you need to check your ‘logical tree’.

When the user finds themselves in an infinite loop, we add a ‘debug’ user variable {{bn_infinite_loop}} set to the value 1 in their profile.

It can be useful for targeting him via a Facebook Messenger notification or in a condition.

Do not forget to reset this variable {{bn_infinite_loop}} to 0 once it has been processed.

SHARE ON