Ребят, здравствуйте. Помогите пожалуйста разобраться! При скачивании media получаю следующую ошибку -
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/forward_telegram_18_04/forward/
cForwardMessages.py", line 140, in get_user_messages
media = message_data.download_media(file=os.path.join('media',str(int(time.time()*100))))
File "/root/forward_telegram_18_04/venv/lib/python3.6/site-packages/telethon/tl/custom/message.py", line 496, in download_media
*args, **kwargs)
File "/root/forward_telegram_18_04/venv/lib/python3.6/site-packages/telethon/telegram_client.py", line 2180, in download_media
media, file, date, progress_callback
File "/root/forward_telegram_18_04/venv/lib/python3.6/site-packages/telethon/telegram_client.py", line 2222, in _download_photo
progress_callback=progress_callback)
File "/root/forward_telegram_18_04/venv/lib/python3.6/site-packages/telethon/telegram_client.py", line 2433, in download_file
input_location, offset, part_size
File "/root/forward_telegram_18_04/venv/lib/python3.6/site-packages/telethon/telegram_bare_client.py", line 486, in
call result = self._invoke(call_receive, request, ordered=ordered)
File "/root/forward_telegram_18_04/venv/lib/python3.6/site-packages/telethon/telegram_bare_client.py", line 583, in _invoke
raise next(x.rpc_error for x in requests if x.rpc_error)
telethon.errors.rpc_base_errors.AuthKeyError: FILEREF_UPGRADE_NEEDED