The error is reproduced every response not only of the message of the handler, but also of others. I ask to help with the fix of the library vbio, the githabe ticket has already been created.

Thrace errors:

* [2019/May/04 18:16:43] INFO: Pooling started! * [2019/May/04 18:16:48] ERROR: From message_new Traceback (most recent call last): File "C:\Users\Evgeny\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vbio\handlers\longpoll.py", line 46, in run self.bot.process_message(update['object']) File "C:\Users\Evgeny\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vbio\bot.py", line 68, in process_message if msg.from_id in self.message_register_next_step: File "C:\Users\Evgeny\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vbio\types.py", line 160, in __getattr__ return self.data[item] KeyError: 'from_id' 

Source:

 import vk_requests from vbio import VkBot, LongPollClient api = vk_requests.create_api(service_token='#') # Токен ВКонтакте bot = VkBot(api=api) handler = LongPollClient(bot) @bot.message_handler() def hello_world(m): m.answer(message='Привет мир!') if __name__ == '__main__': handler.run() 

    1 answer 1

    Decision

    The api version should be 5.92.

    • Click on the "edit" button under your question and enter this information directly into the body of the question - Mikhail Rebrov