Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script no longer works? #47

Open
m33ts4k0z opened this issue Jul 13, 2023 · 1 comment
Open

Script no longer works? #47

m33ts4k0z opened this issue Jul 13, 2023 · 1 comment

Comments

@m33ts4k0z
Copy link

Hello and thanks for this much needed script. It looks like that you are no longer able to change the ownership using the API as Google needs a consent screen for every file ownership change? This is what I get when I run the script:

File: 20190511_124214.jpg (['Google Foto', '2019', '05'], 1nrhNTdpsx6BDddQjyGx2HrxtaLMqRUu1jw)
Item b'Google Foto\\2019\\05\\20190511_124214.jpg' needs ownership granted.
    Upgrading existing permissions to ownership.
An error occurred updating ownership permissions: <HttpError 403 when requesting https://www.googleapis.com/drive/v2/files/1nrhNTdpsx6BDddQjyGx2HrxtaLMqRUu1jw/permissions/13961269970869633944?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'}]">
@llang629
Copy link

llang629 commented Sep 7, 2023

See issue #44.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants