Questions tagged [google-drive-api]

Questions related to integration with Google's cloud storage service or interacting with Google Drive files programmatically, via the Google Drive API, Google Drive SDK, or Google Apps Script. Usage questions about the web application should be posted at Web Applications Stack Exchange.

Google Drive is a cloud-based application and service for creating and managing cloud storage and files. The service supports an internal API for Google Apps Script as well as an External API.

Usage questions about the web application should be posted at Web Applications Stack Exchange instead of here.

Note: Google has used the brand "Google Drive" to encompass a suite of products, but since conforming to that would introduce ambiguity here, the tag is specifically for the cloud storage service while refers to the suite.

Note: Google Drive will soon be renamed to Google One.

Important URLs for the Google Drive SDK

Breaking changes:

Unofficial support channels

14746 questions
22
votes
2 answers

How do I programmatically locate my Google Drive folder using C#?

Similar question as here. Just for Google Drive instead of Dropbox: How do I programmatically locate my Google Drive folder using C#? Registry? Environment Variable? Etc...
wollnyst
  • 1,683
  • 1
  • 17
  • 20
22
votes
1 answer

How to report a bug for Google Drive/Google Docs?

I'd like to report a few issues, but I'm not sure if this is the right place? Is there a Google Drive/Google Docs bugtracker?
dflorey
  • 1,828
  • 3
  • 19
  • 31
21
votes
9 answers

Moving Files In Google Drive Using Google Script

I'm trying to create documents using information posted through Google forms, then once the document is created I would like to move the document into a shared folder for people to view. At the moment I have the script taking all of the information…
S Woodhouse
  • 211
  • 1
  • 2
  • 4
21
votes
2 answers

How do I make copy of spreadsheet and save it to particular folder?

I'm working with Google App Script. I am trying to: Make a copy of a spreadsheet Give the copy a particular file name, and Save it to a particular folder. It seems to me that the code below should work, but it doesn't. It does accomplish tasks 1…
Jeff
  • 337
  • 1
  • 3
  • 6
21
votes
7 answers

File not found error Google Drive API

I am using the Drive REST API to download a file. I am making a GET request using the file id and I get a file not found exception. { "error": { "errors": [ { "domain": "global", "reason": "notFound", "message": "File not found:…
user2676491
  • 3,701
  • 3
  • 17
  • 13
21
votes
3 answers

Google Drive PHP API - Simple File Upload

I am trying to write a small script to upload a local file to Google Drive, using Google Drive PHP API. The documentation is very poor maintained, but so far I am pretty sure the code should be looking like that:
mirosoft
  • 285
  • 1
  • 2
  • 7
21
votes
1 answer

Android Google drive App data folder return empty when I use queryChildren

I'm using the new Google play service drive api to implement backup and restore data with App folder in my android application.I followed the intructions from the google drive developer guides.I can backup and restore data successfully when I only…
robert
  • 540
  • 2
  • 12
21
votes
5 answers

com.google.api.client.json.jackson.JacksonFactory; missing in Google Drive example

I tried running the quickstart-sample, and this dependency: com.google.apis google-api-services-drive v2-rev78-1.15.0-rc from Drive wiki API…
eclipse
  • 2,831
  • 3
  • 26
  • 34
21
votes
2 answers

Android - Google Spreadsheet Api

I can't get which libs i should use for developing an Android app that menages Google spreadsheet. I need connecting, copying, editing, reading from a user spreadsheet but i can't understand today which is the way. Google Drive Api :…
Lorenzo Sciuto
  • 1,655
  • 3
  • 27
  • 57
21
votes
3 answers

Check progress for Upload & Download (Google Drive API for Android or Java)

How to check the progress of an upload that use GoogleDrive API? The service.files().insert(body, mediaContent).execute(); only return a file which we can check if the file has upload completely. But I need to check the progress in real time(at…
tcboy88
  • 1,063
  • 1
  • 9
  • 23
21
votes
4 answers

Looking for example using MediaFileUpload

Does anyone know where I can find complete sample code for uploading a local file and getting contents with MediaFileUpload? I really need to see both the HTML form used to post and the code to accept it. I'm pulling my hair out and so far only…
user1501783
  • 533
  • 2
  • 9
  • 20
20
votes
2 answers

Error Using Drive Mount with Google Colab

I had been working on Colab using: from google.colab import drive .mount('/content/gdrive') with no problems, until today. I don't know why this error was raised: Go to this URL in a browser:…
Nachengue
  • 376
  • 1
  • 2
  • 11
20
votes
1 answer

This operation is not supported for this document at Gaxios - NodeJS - Spreadsheet Google

I'm trying to access the information in my spreadsheet according to the code below and I have this error that I don't quite understand the reason for. I already gave permission for the credentials email on google ... const { google } =…
lams
  • 1,492
  • 2
  • 9
  • 26
20
votes
2 answers

C# HttpClient slow uploading speed

I'm trying to upload large (50 MB - 32 GB) files to Google.Drive. I'm using google-api-dotnet which provides upload logic and encryption support. The main problem is slow uploading speed. I looked through api source code. Each file is uploaded by…
20
votes
3 answers

Can I make Google Drive Spreadsheets act like a MySQL database?

Can I use a Google Drive spreadsheet as if it were (similar to) a MySQL database? I'm thinking of using it as a player database for an HTML/JavaScript web game. The player's username, password, and score among other things would be saved in the…
Jacob
  • 3,835
  • 8
  • 25
  • 25