Closed UsamaKarim closed 4 years ago
Make sure you have access to the file you are cloning. The account's credentials you use should be having permission to both read from source and write to destination.
Make sure you haven't exceeded your daily quota of 750GB since you're not using Service Accounts.
Try cloning some public link, and check if it clones fine.
Also make sure your destination folder ID actually exists and that you can write there.
As per your latest edit, I'd say your Service accounts are not added in the source folder. Add your service accounts to a google group and get that google group added to the source folder.
The SA are added into the folder of the bot repo. It gives other error if SA are not found.
I also tried cloning with public link but it gave same error
My quota is also not exceeded because I have not done any cloning/mirroring before
I have checked all other consequences but the issue still exist.
I added SA in teamdrive by your add_to_teamdrive script. I will try to add it in the group too
Logs while
USE_SERVICE_ACCOUNTS
istrue
Message from telegram (Clone Unsuccessful)
Logs while
USE_SERVICE_ACCOUNTS
isfalse
(Clone Successful)