Error sending outgoing message (Telegram)
# 🤝help
b
sometimes while conversation bot didn't reply for users message, in logs show an error "Error sending outgoing message" and after that error total cost for the message is higher than usual (more than 0,1$)
f
Looks like you have a card with an empty "Question to ask the user". This is usually found in the capture information card. Make sure its not empty
b
Yes it's empty, I set raw input and looped the main ai loop, it works 80% of time but after a sometime there occurs an error like this
If error in this card, it mustn't work at first time
f
Why do you want to have an empty raw input card?
And it should always fail
b
I've done bot like chatgpt, there ongoing conversation between user and bot. It's like personal assistant bot, and after every reply user will ask more and more questions, until there will be no questions for bot. And it will be not that good if after every reply bot asks again and again "can I help with anything else"
and this error disappear after a time, and bot starts work correctly, but sometimes this error appears again
f
Have you tried using the "Wait for user input" capture information card.
b
Thanks for reply, just tried it right now, and there is same error
And again, the price is very high, when an error occurs, the price is 10 times higher than when the bot is running normally
solved it answering, and now a new problem "AxiosError: Request failed with status code 400". Bot is replying but in logs a big red string with that error of KB reply, and then it moves for AI card
f
Can you send a screenshot of the new error message
21 Views