telegram-bot-ruby icon indicating copy to clipboard operation
telegram-bot-ruby copied to clipboard

receiving a 409 error running similar code with different bot API's

Open angelacode opened this issue 8 years ago • 2 comments

I am running the same code using different APIs (one for the dev bot, one for the production bot) on the same hosted infrastructure on Digital Ocean. However, the production bot keeps getting this error:

Telegram::Bot::Exceptions::ResponseError: Telegram API has returned the error. (ok: "false", error_code: "409", description: "Conflict: terminated by other long poll or webhook")

angelacode avatar May 19 '17 18:05 angelacode

It is hard to help you somehow. What does it mean "different APIs"? Are you sure bots are running with different tokens?

ivanovaleksey avatar May 19 '17 20:05 ivanovaleksey

Yes, they are. That's what I meant by different API's, they have a different token.

angelacode avatar May 19 '17 22:05 angelacode

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Feb 19 '23 15:02 github-actions[bot]