# Telegram \[ERROR\] Exception occurred while handling uri

**URL:** <https://forum.rasa.com/t/telegram-error-exception-occurred-while-handling-uri/26407>\
**Category:** Rasa Open Source\
**Created:** [March 22, 2020, 9:59am UTC](https://forum.rasa.com/t/telegram-error-exception-occurred-while-handling-uri/26407 "2020-03-22T09:59:46Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![alebeta90](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/alebeta90/32/4832_2.png) [@alebeta90](https://forum.rasa.com/u/alebeta90)\
**Post date:** [March 23, 2020, 12:43pm UTC](https://forum.rasa.com/t/telegram-error-exception-occurred-while-handling-uri/26407/11 "2020-03-23T12:43:07Z")

</div>

Hi @akelad

thanks for reaching out.

Yesterday I had a nice talk with the guys from python-telegram-bot package about what is happening, and they help me to solve it using the Telegram Bot API.

Basically it seems that Rasa Telegram connector is not handling the Updates properly, and there were some messages which did not receive something call the `offset` (I think is a reply saying that the message was received maybe) the offset should be set with a number equal to update\_id+1. Then what I did was:

1. Stop Rasa instance
2. Delete Webhook (Telegram Bot API)
3. Update offset value(update\_id)(Telegram Bot API)
4. start rasa again

I think something should be solve on the side of the Telegram connector in this function

> <https://github.com/RasaHQ/rasa/blob/72fef6e7742f5ccb8614c75b6410dff68f137554/rasa/core/channels/telegram.py#L209>

All the best

---

_[View the full topic](https://forum.rasa.com/t/telegram-error-exception-occurred-while-handling-uri/26407)._
