My bot is REPEATING the questions when its LIVE
# 🤝help
n
Hello, when i test my bot in development phase (botpress studio) everything works perfect. But when i go to Chat tab or integrate it on page it keeps repeating question and goes into loop. Also, it doesnt show single selection at one point at all. Sending you screenshots of chat, error in log and screenshot of nodes.

https://cdn.discordapp.com/attachments/1138179240580362271/1138179241045921852/loop.png

https://cdn.discordapp.com/attachments/1138179240580362271/1138179241469554721/nodes.png

https://cdn.discordapp.com/attachments/1138179240580362271/1138179241847034019/error.png

f
what channel did you deploy to ?
n
@few-shoe-27407 i deployed bot to my website - but when i test it using link for testing its the same. Questions i already answered just keep repeating: https://mediafiles.botpress.cloud/2e811432-5460-4d1f-836c-fb51236ef241/webchat/bot.html
f
I have had the same issues but through whatsapp. Many questions are often repeated by the bot 2 to 3 times. I have flagged this issue up as it is important to resolve. We cannot demo our bots to paying clients when the thing repeats many many messages in a single convo.
if you search discord you will see my post re this issue. Unfortunately no resolution yet or any indication where the problem actually is.
b
i have the same problem, only integration environment and quick answear
l
i guess there is no permanent fix yet to this bug, it keeps happening to me too
c
@numerous-battery-97289 it looks like your bot is trying to send a message with no content. This triggers the bot error flow which then restart the flow from the beginning. This is the expected behaviour not a bug. 🐞
n
Hi Mike, thank you for the reply. However, i am not sure what do you mean by that because i have just node with several single select questions which collect data and store them into variables. So i dont see where might be that point where bot is sending message with no content. sending you screenshot of that particular node.

https://cdn.discordapp.com/attachments/1138179240580362271/1138484565753745529/workflow.png

c
In the previous screenshot, you have a card with
@nextMsg
maybe this was the one. The error you got
data/text must NOT have fewer than 1 character
means a text message with no characters was sent. 🤔
n
yes i see your point, butr after you told me that in previous message, i removed completeley that nextMessage part. Now tested and still the same. https://mediafiles.botpress.cloud/2e811432-5460-4d1f-836c-fb51236ef241/webchat/bot.html
c
and in your logs you still have the same error ?
b
Hi, I have the same problem with replies questions (single choice card). I noticed problem only when I "quickly replie (click button)", this problem is only on web integration, when I do longer time intervals betwen cliks there are no repetitions. Studio all cases OK.
c
@brief-secretary-69236 is this still happening ? Because we pushed a fix last week for the scenario you just described. 🤔
b
now i tested, unfortunately yes, of course after publication

https://cdn.discordapp.com/attachments/1138179240580362271/1138501503682871336/image.png

https://cdn.discordapp.com/attachments/1138179240580362271/1138501503963901962/image.png

now when i answer slowly, the answer is immediately double as in the 2nd picture
c
could you send me a
Report Problem
id for your bot ? I'll look into why this is happening.

https://cdn.discordapp.com/attachments/1138179240580362271/1138512059848474724/image.png

b
Ha ha, the thing is that in the studio the problem doesn't exist only in integration. But, I made a repeat error in the integration and generated the ID Report Problem from the studio, ok? 254cbdae-ee3d-42e0-880f-80f1b93ccce5

https://cdn.discordapp.com/attachments/1138179240580362271/1138537945003991081/image.png

n
exactly - in studio everything working perfect for me, too. Once i integrate it to website or go to test link/chat tab i got repetitive questions. i checked the log it is the same error but with another new one this time. Sending you screenshots. BTW i tried what Jack told us in messages above - and it looks like that might be the case. When i shoot the answers with no pause i see many same questions. Tried to wait for 10s before clicking on answer and it seems there were no same questions, maybe only once.

https://cdn.discordapp.com/attachments/1138179240580362271/1138543544177537094/log.png

b
The bot stopped repeating itself 😀
s
yeah same
but now it stops suddently and doesn't move on with the questions...
b
I agree and started a new topic - Webchat integration BIG problem, bot stops.
c
Thanks for the feedback. We are aware of the issue and implementing a solution for it. Both problems are related. 🧐
b
Mike, today, webchat works much better, very rarely short delays, after 20 conversations the bot had 1 question replay. Saturday 13pm UE, maybe a little server usage helped?
c
We're improving and fixing issues as soon as we see them. We still have improvements incoming. Thanks for the feedback! 🙏
q
🙏
n
Yes it stopped repeating question but now it stops pretty often with no reason. In the middle of the conversation just stops and doesnt move to another question/message. There are no errors in log now. So to many bugs here guys, regular conversations not working...
b
Hi, the bot does not repeat and works quickly until about 15 replies, then it slows down each transition about 8-15s and sometimes stops permanently, checked several times, webchat environment, my experiences.
168 Views