Hello! Is the script still functional? Tried to transfer ownership of a folder, its sub-folders, and files but got multiples of 2 different error messages.
-
<HttpError 500 when requesting https://www.googleapis.com/drive/v3/files/[FILE_ID]/permissions?transferOwnership=true&alt=json returned "Internal Error". Details: "[{'message': 'Internal Error', 'domain': 'global', 'reason': 'internalError'}]">
-
<HttpError 403 when requesting https://www.googleapis.com/drive/v3/files/[FILE_ID]/permissions?transferOwnership=true&alt=json returned "Consent is required to transfer ownership of a file to another user.". Details: "[{'message': 'Consent is required to transfer ownership of a file to another user.', 'domain': 'global', 'reason': 'consentRequiredForOwnershipTransfer'}]">
The command used is python transfer.py --owner "new_owner@gmail.com" --folder "[FOLDER_ID]"
Hope you can help me, thank you!
Hello! Is the script still functional? Tried to transfer ownership of a folder, its sub-folders, and files but got multiples of 2 different error messages.
<HttpError 500 when requesting https://www.googleapis.com/drive/v3/files/[FILE_ID]/permissions?transferOwnership=true&alt=json returned "Internal Error". Details: "[{'message': 'Internal Error', 'domain': 'global', 'reason': 'internalError'}]"><HttpError 403 when requesting https://www.googleapis.com/drive/v3/files/[FILE_ID]/permissions?transferOwnership=true&alt=json returned "Consent is required to transfer ownership of a file to another user.". Details: "[{'message': 'Consent is required to transfer ownership of a file to another user.', 'domain': 'global', 'reason': 'consentRequiredForOwnershipTransfer'}]">The command used is
python transfer.py --owner "new_owner@gmail.com" --folder "[FOLDER_ID]"Hope you can help me, thank you!