javascript – Insert a file to a particular folder using google-drive-api

javascript – Insert a file to a particular folder using google-drive-api

I solved the issue.

The error was in this line:

parents:[0B6NmmF3ovpsbExuOEc1R2JzSFEp]

The line should be:

parents:[{id:0B6NmmF3ovpsbExuOEc1R2JzSFEp}]

Documentation can be found at https://developers.google.com/drive/web/folder

javascript – Insert a file to a particular folder using google-drive-api

Leave a Reply

Your email address will not be published.