Skip to content
Advertisement

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

I tried as given below. But the file is going to root directory(My-Drive).

JavaScript

Advertisement

Answer

I solved the issue.

The error was in this line:

JavaScript

The line should be:

JavaScript

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

Advertisement