Advertisement
Andrexxelles

Untitled

Apr 16th, 2021
958
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.13 KB | None | 0 0
  1. {"message_id": 49434, "from": {"id": 689425288, "is_bot": false, "first_name": "Andrey", "username": "Andrexxelles", "language_code": "ru"}, "chat": {"id": 689425288, "first_name": "Andrey", "username": "Andrexxelles", "type": "private"}, "date": 1618588976, "voice": {"duration": 2, "mime_type": "audio/ogg", "file_id": "AwACAgQAAxkBAALBGmB5tTA4bwwTVO3x73UDBl6hy4snAAKBAgACSfrlUAuZCyH3Pnr5HwQ", "file_unique_id": "AgADgQIAAkn65VA", "file_size": 26284}, "via_bot": {"id": 1264915325, "is_bot": true, "first_name": "Voice Stickers", "username": "vosticksbot"}}
  2. Task exception was never retrieved
  3. future: <Task finished name='Task-39' coro=<Dispatcher._process_polling_updates() done, defined at C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py:401> exception=WrongFileIdentifier('Wrong file identifier/http url specified')>
  4. Traceback (most recent call last):
  5.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 409, in _process_polling_updates
  6.     for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
  7.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 238, in process_updates
  8.     return await asyncio.gather(*tasks)
  9.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
  10.     response = await handler_obj.handler(*args, **partial_data)
  11.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 259, in process_update
  12.     return await self.message_handlers.notify(update.message)
  13.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
  14.     response = await handler_obj.handler(*args, **partial_data)
  15.   File "C:\Users\admin\Desktop\EnterKeys_bot\handlers\enter.py", line 42, in enter
  16.     await copy.send_copy(
  17.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\types\message.py", line 2895, in send_copy
  18.     return await self.bot.send_voice(voice=self.voice.file_id, **kwargs)
  19.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\bot\bot.py", line 903, in send_voice
  20.     result = await self.request(api.Methods.SEND_VOICE, payload, files)
  21.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\bot\base.py", line 208, in request
  22.     return await api.make_request(self.session, self.server, self.__token, method, data, files,
  23.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\bot\api.py", line 140, in make_request
  24.     return check_result(method, response.content_type, response.status, await response.text())
  25.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\bot\api.py", line 115, in check_result
  26.     exceptions.BadRequest.detect(description)
  27.   File "C:\Users\admin\Desktop\EnterKeys_bot\venv\lib\site-packages\aiogram\utils\exceptions.py", line 140, in detect
  28.     raise err(cls.text or description)
  29. aiogram.utils.exceptions.WrongFileIdentifier: Wrong file identifier/http url specified
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement