node-google-apps-script
node-google-apps-script copied to clipboard
Push Fails on standalone Script in Team Drive
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.
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.
- 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.”
I'm having this same issue. Any updates?
Similar issue here
Sorry @tonyOreglia . I am only seeing the PR now.