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
I am trying to use this tool, and so far I think it's pretty nifty. I am struggling with what I believe to be a client_secrets.json problem. When running transfer.py, it tries to update ownership permissions of a .jpg file, and fails with the below message:
An error occurred updating ownership permissions: <HttpError 403 when requesting https://www.googleapis.com/drive/v2/files/10-some_text/permissions/some_numbers?transferOwnership=true&alt=json returned "Insufficient permissions for this file">
Hi. I'm not sure what you're doing wrong. Your steps look correct to me. I don't have time to figure this out myself, but I'd be happy to merge a PR with with better documentation on generating the client_secrets.json file if you do.
I just want to confirm that I am in the exact same situation today as the OP. I have done very similar (if not identical) steps in getting the client_secrets.json file.
James, did you get any further with investigating this?
I am trying to use this tool, and so far I think it's pretty nifty. I am struggling with what I believe to be a
client_secrets.json
problem. When runningtransfer.py
, it tries to update ownership permissions of a.jpg
file, and fails with the below message:Based on this Stack Overflow question, it seems I may have my
client_secrets.json
permissioning all wrong.I see from within
transfer.py
it wants to use Drive API v2, and the OAuth2 scopehttps://www.googleapis.com/auth/drive
.Here is how I generated my
client_secrets.json
:client_id.json
client_secrets.json
transfer.py
script and got the above warningWhat am I doing wrong in generating the
client_secrets.json
? Can anyone advise?The text was updated successfully, but these errors were encountered: