yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.45k stars 1.53k forks source link

Can't we run it on different machine instances with same bot id ? #932

Closed siddhant-rigi closed 2 years ago

siddhant-rigi commented 2 years ago

I am getting this error while running it on a different instance with the same bot id.

[polling_error] {"code":"ETELEGRAM","message":"ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}

danielperez9430 commented 2 years ago

Hi @siddhant-rigi, you can only run one instance per bot token. If you run more that one Telegram Bot API send you the polling_error