Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR:asyncio:Task exception was never retrieved
- 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")>
- Traceback (most recent call last):
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 332, in _process_polling_updates
- for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 188, in process_updates
- return await asyncio.gather(*tasks)
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
- response = await handler_obj.handler(*args, **partial_data)
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 208, in process_update
- return await self.message_handlers.notify(update.message)
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
- response = await handler_obj.handler(*args, **partial_data)
- File "D:/Inf/python/telegramBot/testing_all.py", line 536, in send_welcome
- await message.answer("МЕНЮ", reply_markup=main_menu)
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\types\message.py", line 289, in answer
- return await self.bot.send_message(chat_id=self.chat.id,
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\bot.py", line 218, in send_message
- result = await self.request(api.Methods.SEND_MESSAGE, payload)
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\base.py", line 193, in request
- return await api.make_request(self.session, self.__token, method, data, files,
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\api.py", line 104, in make_request
- return check_result(method, response.content_type, response.status, await response.text())
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\api.py", line 78, in check_result
- exceptions.BadRequest.detect(description)
- File "C:\Users\79132\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\utils\exceptions.py", line 137, in detect
- raise cls(description)
- aiogram.utils.exceptions.BadRequest: Can't parse reply keyboard markup json object
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement