Task exception was never retrieved
future: <Task finished name='Task-9' coro=<Dispatcher._process_polling_updates() done, defined at C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\
dispatcher.py:331> exception=CantParseEntities("Can't parse entities: can't find end of the entity starting at byte offset 209")>
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\
dispatcher.py", line 339, in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\
dispatcher.py", line 194, in process_updates
return await asyncio.gather(*tasks)
File "C:\Users\User\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\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\dispatcher\
dispatcher.py", line 214, in process_update
return await self.message_handlers.notify(update.message)
File "C:\Users\User\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/User/Desktop/telegrambot/bot заказ/A_Мой_заказ/
main.py", line 223, in cmd_document
await bot.send_document(config.id_group, InputFile(file_path, filename=name), caption=text, reply_markup=inline_kb1, parse_mode=ParseMode.MARKDOWN)
File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\
bot.py", line 402, in send_document
result = await self.request(api.Methods.SEND_DOCUMENT, payload, files)
File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\bot\
base.py", line 201, in request
return await api.make_request(self.session, self.__token, method, data, files,
File "C:\Users\User\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\User\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\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiogram\utils\
exceptions.py", line 136, in detect
raise err(cls.text or description)
aiogram.utils.exceptions.CantParseEntities: Can't parse entities: can't find end of the entity starting at byte offset 209