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

google.drive.files.update() fail with Google Apps Script Bound to Google Sheets #495

Closed
huan opened this issue Nov 28, 2015 · 1 comment
Closed
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@huan
Copy link

huan commented Nov 28, 2015

I have a Scripts Bound to Google Sheets. when I edit it, the url is like: https://script.google.com/a/mydomain.com/macros/d/Md-MytdOSdIJ9XDzO7J5kDJpRT9d30hqB/edit .

I use node-google-apps-script( https://github.com/danthareja/node-google-apps-script ) to export files from it. it could be exported by id Md-MytdOSdIJ9XDzO7J5kDJpRT9d30hqB successful.

But when I try to import back, I got a error:

Pushing back up to Google Drive...
An error occured while running upload command: null
Upload failed.

it seems like that google.drive.files.update() does not support bounded scripts.

another issue here: danthareja/node-google-apps-script#24

@jmdobry
Copy link
Contributor

jmdobry commented Mar 4, 2016

For now at least, closing per @cjs-cynic-net's comment as it appears the deficiency is in the v2 Google Drive API, not google-api-nodejs-client. Perhaps the v3 API works better? gapps would need to try it.

@jmdobry jmdobry closed this as completed Mar 4, 2016
@jmdobry jmdobry added the wontfix label Mar 4, 2016
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants