Advertisement
Platitude

Untitled

May 5th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.75 KB | None | 0 0
  1. ERROR:asyncio:Task exception was never retrieved
  2. future: <Task finished name='Task-9' coro=<Dispatcher._process_polling_updates() done, defined at C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\dispatcher.py:324> exception=BadRequest("Can't parse reply keyboard markup json object")>
  3. Traceback (most recent call last):
  4.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 332, in _process_polling_updates
  5.     for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
  6.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 188, in process_updates
  7.     return await asyncio.gather(*tasks)
  8.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
  9.     response = await handler_obj.handler(*args, **partial_data)
  10.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 208, in process_update
  11.     return await self.message_handlers.notify(update.message)
  12.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
  13.     response = await handler_obj.handler(*args, **partial_data)
  14.   File "D:/Inf/python/telegramBot/testing_all.py", line 536, in send_welcome
  15.     await message.answer("МЕНЮ", reply_markup=main_menu)
  16.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\types\message.py", line 289, in answer
  17.     return await self.bot.send_message(chat_id=self.chat.id,
  18.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\bot.py", line 218, in send_message
  19.     result = await self.request(api.Methods.SEND_MESSAGE, payload)
  20.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\base.py", line 193, in request
  21.     return await api.make_request(self.session, self.__token, method, data, files,
  22.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\api.py", line 104, in make_request
  23.     return check_result(method, response.content_type, response.status, await response.text())
  24.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\api.py", line 78, in check_result
  25.     exceptions.BadRequest.detect(description)
  26.   File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\utils\exceptions.py", line 137, in detect
  27.     raise cls(description)
  28. aiogram.utils.exceptions.BadRequest: Can't parse reply keyboard markup json object
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement