naxpublic.blogg.se

Google drive api transfer ownership
Google drive api transfer ownership










google drive api transfer ownership

Thank you for responding the issue I reported, I tried to replicate I can't replicate the issue as I found in my application exactly, due to above mentioned condition. Status code: 4xx, file can't be transfered accross domain

google drive api transfer ownership

Status code: 200, file owner changed succesfully GSuite email account that registered in same organization as my GSuite account (this target email account is an editor of the file) My Gmail account (has role as editor of the file) Status code: 400, no permission to share the file My G Suite email account (the logged in account used for testing) The logged in account that I use to test the API via "Try this API" is my G Suite email account (not Gmail), which has the role as the editor of the file. Here is my test result, hope this helps you to pinpoint the actual issue I tried to upgrade the lib google-api-python-client to newest version, but I still encounter same issue on my application. Meanwhile, since I can't use Google Service Account as the authenticator on "Try this API" feature, so the case, quite different. I use Google Service for the authentication for file ownership transfer, in this case, the ownership transferred from a Google Service Account to a Gmail account (this Gmail account's role is editor of the file).

google drive api transfer ownership

This only works if you can create shared drives or your admin can and willing to help you with that OR if you are willing to pay.Hi you for responding the issue I reported, I tried to replicate the issue via "Try this API" you provided in the link. With that you can transfer those files into your account and keep the link too.

  • Move your files into your drive with your personal account.
  • Give manager access for your personal account.
  • Move your files into the shared drive with your organization account.
  • With that you can bypass your organization admins too, as you will be the one to set the rules for that. You can cancel it, but one payment is neccessary. (In 2021 it requires Business Standard and it is $12USD/user/month currently.
  • You might also look into making an organization yourself that has the right to make shared drives.
  • Sadly personal accounts can not create these sort of drives, not every organization has the right to do this ( Click here for more).
  • Create a shared drive in your organization.
  • The solution that I found is to create a shared drive (Not just a shared folder. I was searching for a way to solve this problem as I had to keep the link of the file the same.












    Google drive api transfer ownership