yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.3k stars 1.5k forks source link

Question: how to handling error 403? #1030

Open zeteticl opened 1 year ago

zeteticl commented 1 year ago

Question

TelegramError: ETELEGRAM: 403 Forbidden: bot can't initiate conversation with a user Sometime this error message will popup and have long error message, where can i handling it?

image

VitaliyC commented 1 year ago

I have the same error. try catch does not help in this case and the error in the logs turns out to be very long

muety commented 1 year ago

Same issue here.