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

Push Fails on standalone Script in Team Drive #61

Open
tonyOreglia opened this issue Jul 11, 2017 · 5 comments
Open

Push Fails on standalone Script in Team Drive #61

tonyOreglia opened this issue Jul 11, 2017 · 5 comments
Labels

Comments

@tonyOreglia
Copy link

tonyOreglia commented Jul 11, 2017

gapps push

Pushing back up to Google Drive...
An error occured while running upload command: File not found: 1FYwO4nDv9vC8t9X8S3qpya3QFhbqehM_wYcJlpuGaV1EjewaNCMdx6-e
Upload failed.

All worked well until I moved the script into a team drive. I notice that the Drive API has a property called supportsTeamDrives for update and get calls. Is it possible that this property is required in the update for it to work?

I did re-authenticate everything after moving the script to the team drive.

@tonyOreglia
Copy link
Author

Note that the push to succeeds if I just move the script back to my Drive. We need it in a Team Drive for publication purposes.

@tonyOreglia
Copy link
Author

  • https://developers.google.com/drive/v3/web/enable-teamdrives : “If your application isn't affected by the behavioral differences, then you only need to include thesupportsTeamDrives=true query parameter in requests. This is an acknowledgement that the application is aware of behavioral differences of files contained in Team Drives.”

@Perseus101
Copy link

I'm having this same issue. Any updates?

@AdrienLemaire
Copy link

Similar issue here

@lricoy
Copy link
Collaborator

lricoy commented Nov 29, 2017

Sorry @tonyOreglia . I am only seeing the PR now.

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

No branches or pull requests

4 participants