lzzy12 / python-aria-mirror-bot

A telegram bot for all your mirror needs | OG Repo
https://t.me/pythonmirrorsupport
GNU General Public License v3.0
739 stars 1.3k forks source link

Error mirror telegram files when USE_SERVICE_ACCOUNTS is True #146

Open riganf opened 4 years ago

riganf commented 4 years ago

Can it be fixed?

420tushar commented 4 years ago

Yo need to provide logs and the branch you are using to be able to help you as telegram file mirror is working fine without any problem with or without SA

riganf commented 4 years ago

@420tushar

2020-08-03 10:09:53,434 - bot.helper.mirror_utils.upload_utils.gdriveTools - INFO - Authorizing with 0.json service account 2020-08-03 10:28:58,139 - bot - INFO - 2020-08-03 10:28:59,798 - bot - INFO - 878539468 2020-08-03 10:28:59,798 - bot - ERROR - 1653

I am using branch staging-4.0-mega and error message is No Document in the replied message

viper-adnan commented 4 years ago

@420tushar

2020-08-03 10:09:53,434 - bot.helper.mirror_utils.upload_utils.gdriveTools - INFO - Authorizing with 0.json service account 2020-08-03 10:28:58,139 - bot - INFO - 2020-08-03 10:28:59,798 - bot - INFO - 878539468 2020-08-03 10:28:59,798 - bot - ERROR - 1653

I am using branch staging-4.0-mega and error message is No Document in the replied message

Did you generated USER_SESSION_STRING by logging in as bot ? If you logged in as user than revoke it and change the string by logging in as bot. Try disabling privacy mode in BotFather settings.