Telegram Bot Help

Just setup telegram_bot component and I’m receiving

2017-05-31 11:43:56 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 417, in start
    resp = yield from self._request_handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web.py", line 289, in _handle
    resp = yield from handler(request)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/usr/src/app/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler
    return (yield from handler(request))
  File "/usr/src/app/homeassistant/components/http/__init__.py", line 424, in handle
    result = yield from result
  File "/usr/src/app/homeassistant/components/telegram_bot/webhooks.py", line 86, in post
    if not self.process_message(data):
  File "/usr/src/app/homeassistant/components/telegram_bot/__init__.py", line 538, in process_message
    message_ok, event_data = self._get_message_data(data)
  File "/usr/src/app/homeassistant/components/telegram_bot/__init__.py", line 495, in _get_message_data
    or msg_data['chat'].get('id') not in self.allowed_chat_ids:
KeyError: 'chat'

Any ideas as to what would be causing this?

I think service is down, isn’t working for me today

Looks like I get the error any time the Bot is used for my notifications.

Problems with GoDaddy’s DNS. If you’re ever unsure, go check their Twitter feed @telegram.

Should be coming back now but allow a few hours for caching.

Thanks for the heads up. Not sure that’s it or not. The notifications work and the keyboard shows but when clicking a button I just get a loading circle.

Callbacks from inline buttons where broken in 0.45.1 (fix: https://github.com/home-assistant/home-assistant/pull/7771), but they work ok in 0.46.0, which is out now, can you try it?

1 Like