You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! If someone is still actively maintaining this I'd like to ask if he pre-requisites in terms of setting up the service account for the project and being able to transfer ownership to an actual user actually are correct.
I have created a service account, and also set up domain wide delegation to be able to impersonate another user, but I just can't get this to work as per description below. Any help / pointers are welcome. Thank you. // Magnus
Describe the bug
When executing the script in "export" mode, every time it attempts to transfer ownership to the supplied email address it fails with the message:
Hi! If someone is still actively maintaining this I'd like to ask if he pre-requisites in terms of setting up the service account for the project and being able to transfer ownership to an actual user actually are correct.
I have created a service account, and also set up domain wide delegation to be able to impersonate another user, but I just can't get this to work as per description below. Any help / pointers are welcome. Thank you. // Magnus
Describe the bug
When executing the script in "export" mode, every time it attempts to transfer ownership to the supplied email address it fails with the message:
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/drive/v3/files/1D_huoZjhgjhgjhg12YXJ-UO8Q4/permissions?transferOwnership=true&alt=json returned "Bad Request. User message: "Sorry, cannot transfer ownership to [email]. Ownership can only be transferred to another user in the same organization as the current owner."">
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ownership should be transferred to the user whose email is supplied on command line when running the script.
The text was updated successfully, but these errors were encountered: