danthareja / node-google-apps-script

[DEPRECATED - use clasp instead] The easiest way to develop Google Apps Script projects
MIT License
353 stars 70 forks source link

Push Fails on standalone Script in Team Drive #61

Open tonyOreglia opened 7 years ago

tonyOreglia commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago
Perseus101 commented 7 years ago

I'm having this same issue. Any updates?

AdrienLemaire commented 7 years ago

Similar issue here

lricoy commented 6 years ago

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