How to access Team Drives
Any suggestion on how to access Team Drives? I'm passing the ROOT_FOLDER but the result is the same as if I didn't.
If your team drive had the url:
https://drive.google.com/drive/u/3/folders/0ANrAnH5gZ7JJsUk9PV
then the ROOT_FOLDER should be 0ANrAnH5gZ7JJsUk9PV.
However... Team Drives behave a bit different than our own folders. Depending on the organization policies, you might not be able to share its contents (or much less give uploading permissions) to people outside of the organization (and service accounts are not part of the organization, not matter they belong to a project related to it).
It is even possible that the admin defined team drives as non shareable with non-team members, even if they are part of another team in the organization.