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-api
Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Apps Script to create new subfolder within a designated folder and move uploaded files to new folder upon Form submission

I am following the steps from this post https://support.google.com/docs/thread/185809026/need-google-form-to-create-individual-submission-folders-to-house-the-photos-uploaded?hl=en It works ...
Krista Benson's user avatar
0 votes
1 answer
15 views

Accessibility problem in Google Drive API limited to shared drives

I am trying to retrieve the unique identifiers that Google Drive assigns to files (the last part of the url) in an automated way using a python script. I created a service account and a service ...
Alessandro Lodesani's user avatar
1 vote
0 answers
19 views

Requirements for communicating with Google Drive API [closed]

I'm writing an application which must pick numerous files from a remote Google drive via the API, zip them up and present them to user as a download. Its imperative that my customers GDrive requires ...
nelle's user avatar
  • 19
-1 votes
0 answers
15 views

cpanel backup to Google drive [closed]

I am facing issues to generate backup files to google drive, following this article: https://docs.cpanel.net/knowledge-base/backup/how-to-configure-google-drive-as-a-backup-additional-destination/ I ...
NileshPlus91's user avatar
-1 votes
0 answers
20 views

google-drive-ocamlfuse no longer works after changing password [closed]

I have been using google-drive-ocamlfuse with no issues for a while. Giving access to my Google account was a simple process of clicking through a few screens acknowledging that I gave permission for ...
Clive Corner's user avatar
0 votes
0 answers
24 views

Upload file to Google Drive API using Multipart body

I am trying to upload a file to a Google Drive API directly without using Google Drive Nuget. I tried using different approaches with MultipartFormDataContent and still I was not able to uploaded. The ...
TheSecurity's user avatar
0 votes
0 answers
13 views

Make shortcut in Google drive with service account gives 'Forbidden' after a while

I use python code to make a shortcut in a drive folder to another folder (let's call it 'folder X'). This works perfect until suddenly I get the message: 'googleapiclient.errors.HttpError: <...
Pieter-Jan Roex's user avatar
3 votes
2 answers
48 views

Unable to transfer ownership in google drive v3 api in my node project

I tried following the docs but they don't provide a working example of how to use the feature. This is my implementation: async function transferOwner( ){ const authClient = await authorize(); ...
user avatar
-3 votes
0 answers
16 views

Google Meet Video not responding when using Windows Legacy App [closed]

I've signed up for a free trail of Google Meet. Using Google meet for the first time I decided to make a video recording, saving it as well. Unfortunatly is will not respond to windows configuration ...
John White's user avatar
-1 votes
0 answers
34 views

Entire python project in google colab

I managed to port my python project from local machine onto google drive, then onto Google colab. But when I try to run a file from command line, I get ModuleNotFoundError: No module named 'my_tools' ...
Baron Yugovich's user avatar
0 votes
0 answers
27 views

Efficient Isar Database Backup and Multi-Device Sync (Similar to WhatsApp) in flutter

I'm building a flutter app with Isar for data storage. I want to back it up to Google Drive and keep it synced across multiple devices, just like WhatsApp does with messages. The problem: I need a ...
Virtual Tech's user avatar
0 votes
0 answers
21 views

how to Avoid download data on google colab temp disk and directly put it on mounted google drive

I was trying to participate on one of Kaggle competition which has data with size 313 gb. I bought google Colab pro but it provided only 200gb, so I bought 2 tb from google drive and mount it with ...
Ahmed el-Sinousy's user avatar
0 votes
0 answers
27 views

API_UNAVAILABLE error using GoogleApiClient to open Google Drive Picker in Android

I'm developing an Android app that requires users to select a file from Google Drive using the file picker. I'm using GoogleApiClient with the intention to integrate Google Drive Picker. ...
user2272143's user avatar
-1 votes
0 answers
16 views

Too many files in Google Colab folder

I have a large dataset (252004. npy files) in one folder on Google Drive, which I have mounted on Google Colab, where I want to train my neural network. But problem is it stops on this line in ...
wat1247's user avatar
0 votes
0 answers
26 views

Accessing Google Drive APIs from AWS lambda

I created an app on google console (Oauth2) and when I run test java code from laptop, I am able to access GDrive files. Though it asks me to grant permission by opening a page in browser. Since this ...
curiousengineer's user avatar
0 votes
0 answers
15 views

Can a slack workflow execute a script in a google spreadsheet?

If you have a google spreadsheet that runs a script that creates folders/files in google drive and pulls data from elsewhere, but needs a simple text input to get started, can a slack workflow be ...
Chris's user avatar
  • 1
0 votes
0 answers
38 views

Update chunk text file with Drive API resumable upload failed with 100000 byte(s) error

I'm using fetch to make a PATCH request like below: fetch(uri, { method: "PATCH", headers: new Headers({ "Authorization": "Bearer " + access_token, ...
Kim Mỹ's user avatar
  • 388
0 votes
0 answers
23 views

Can user files be uploaded via Google Drive API?

I have a web application (productivity application). I want to store user-generated content on Google Drive. But Google Drive API policies confused me. https://developers.google.com/drive/api/terms *...
Henry Poincare's user avatar
0 votes
0 answers
28 views

is there anyone know about how to save the captured image, recorded audio and location address to save in google drive using python

enter image description here Description: I'm encountering an issue with my application where I receive a "redirect_uri_mismatch" error with the status code 400. I'm using [Visual studio ...
dj jiiva's user avatar
0 votes
0 answers
68 views

Google Drive Editor: Save text change

I have integrated Google Drive files editor for editing the supported files in my web app using Google Drive API's. Whenever user did some change in the editor, on top its showing saving status as '...
Raghavendra Siva's user avatar
0 votes
1 answer
20 views

Can you use the Drive API to share a file in Google Drive to an oath2 subject rather than email address?

So I have a "sign in with google" button on my site that uses the oauth2 flow to identity the user, but we don't request their email address as we don't strictly need it. This works fine and ...
Ralph Sleigh's user avatar
0 votes
0 answers
18 views

Write R pin to Google Drive without authentication

I am using the pins R package and the board_gdrive() function to create a hosted board on my Google Drive. My goal is to have a hosted shiny app that pulls pin data from the Google Drive board. ...
Ryan Garnett's user avatar
0 votes
0 answers
32 views

Google Drive Service Account gets googleapiclient.errors.HttpError: 401 "Request is missing required authentication credential" when authenticating

I am writing a small app to upload files to a shared Google Drive using a service account (JSON file credential, no user impersonation or consent, service account has been granted permission directly)...
user594102's user avatar
0 votes
0 answers
32 views

Trying to fetch images from a Google Drive folder

I'm trying to access a Google Drive folder in my React app, but getting an empty array back in the payload. Should I change the fields to fix it? Or is the q query wrong? import axios from 'axios'; ...
T. Dimoff's user avatar
  • 548
0 votes
0 answers
30 views

How to programmatically zip/download google drive folder?

You can recursively download a folder, but you eventually run into rate limits with this method of downloading a folder. Some people online have mentioned AppScript's being a potential solution, but ...
Tobi Akinyemi's user avatar
0 votes
0 answers
70 views

Trigger Warning: Mysterious Memory Spike on Google Drive Upload using Google Cloud Run

The memory spikes don't resolve during image re-uploads to Google Drive. The workflow is straightforward - download an image from Drive, transform it using Sharp.js, and then upload it back. Yet, when ...
KevinF20's user avatar
0 votes
0 answers
28 views

FileNotFoundError while trying to load dataset from drive

I have been trying to load the NWPU VHR-10 dataset in Google collab from a directory in Google drive using 'on.listdir()' function . However, I encountered a 'FileNotFoundError' when trying to access ...
tasnim nefzi's user avatar
0 votes
1 answer
56 views

Search in GDrive only the first 5 topics

is there a parameter in GDrive to start a search with "DriveApp.searchFiles". After the first e.g. 10 hits the command stop the searching. Currently I can only manage to search for all hits, ...
J. Doe's user avatar
  • 213
0 votes
0 answers
36 views

Issue with Google Drive API Integration: Unexpected HTML Response from Backend in Production Environment

I have developed a web application using the MERN stack.I'm encountering a problem with the integration of the Google Drive API into my web application deployed in a production environment. The goal ...
user23817303's user avatar
1 vote
1 answer
29 views

Can Google Drive act as a DB for Mobile App?

I am planning to build an Android mobile App, while one of the requirements is that DB schemes will be hosted on Google Drive (xls, csv, json formats). I was thinking to use Google Drive API for ...
Amir's user avatar
  • 165
0 votes
0 answers
12 views

java.lang.NoSuchMethodError: 'boolean com.google.api.client.http.HttpTransport.isMtls()'

I have the following error: **java.lang.NoSuchMethodError: 'boolean com.google.api.client.http.HttpTransport.isMtls()' I have tried cleaning the Google API libraries but I can't solve it. I want to ...
Cesar Quiroga's user avatar
0 votes
0 answers
21 views

How can I configure an rclone remote for a google drive using the app password for authentication rather than OAuth2

I have an rclone remote that authenticates using OAuth2, as a backup I'd like another one that doens't rely on OAuth2 but uses the google app password. rclone --version rclone v1.66.0 os/version: ...
Tony's user avatar
  • 83
1 vote
1 answer
50 views

Getting FolderID and folder name inside a particular folder in Google Drive

I am using Colab in Python to get the folder ID and folder name inside a particular folder called myProject from Google Drive. Folder structure is like this: Google Drive (When I open drive.google.com ...
Sanjana Nair's user avatar
  • 2,745
0 votes
2 answers
59 views

Troubleshooting Google Drive API Issue: Google cloud python function Fails to Detect PDF Files in Shared Folder

I developed a Python script that operates on the Google Cloud Platform. The script utilizes the Google Drive API and Google Sheet API to access a folder in Google Drive belong to a company , extract ...
MKROSTM's user avatar
  • 13
1 vote
1 answer
38 views

Google picker in Electron returns 403 when packaged but not local dev

We are running into an issue where the Google picker is working fine in our web builds and our local development Electron build, but when we go to package up a staging build, opening the picker gives ...
Elizabeth Erickson's user avatar
1 vote
1 answer
43 views

Why Does Google API Not Connect and Times Out

I am trying to use the API Key and it does take the picture on the Raspi but then gets stuck trying to send it to the Drive and I am unsure why. Note: I took out the key and ID for privacy but I do ...
nkk's user avatar
  • 11
0 votes
0 answers
17 views

ERROR: mdb_txn_renew: MDB_BAD_RSLOT: Invalid reuse of reader locktable slot

I'm hoping someone can answer my question regarding this error. I'm trying to run a notebook from this github repo and looking to test the code using my dataset. Reference: https://colab.research....
A Student's user avatar
0 votes
0 answers
27 views

Can Google Picker Dialog default to LIST but user can still be able to change to GRID?

This only display the list View but can't be changed to grid. And its default is grid, can the default be list? const sharedDrivesView = new google.picker.DocsView( google.picker.ViewId[viewId] ) ....
Victor Timi's user avatar
0 votes
0 answers
33 views

Google Drive API behaviour for shared folders using the drive.file scope

We have an application where we are trying to use the less sensitive drive.file scope but we are running into an issue: Say that there are 2 different users, User A, creates a folder from within our ...
Enrique R.'s user avatar
1 vote
0 answers
40 views

Cannot get the content of the docx file by the export link

I successfully got an export link for the docx file with Google Drive API. But when I was requesting content by this link I got the error: Google Docs encountered an error. Please try reloading this ...
Anastasiia Kryshtop's user avatar
0 votes
1 answer
26 views

error while send batchRequests for batchUpdate in google docs with google app script

I am trying to create a copy of Google doc file and replace the text in it using the methods batchRequest, batchUpdate, replaceAllText As a library, I use the library tanaike batchRequests from ...
Antonio's user avatar
  • 85
0 votes
0 answers
30 views

How can I download a private Google Drive file through a simple HTTP request?

I'm making a simple CLI script that is intended to automatically download a Google Sheets spreadsheet as a CSV and convert it into other data. I quickly got lost in the weeds about how to authorize ...
user23663556's user avatar
0 votes
0 answers
29 views

Get Google Drive apps script onItemsSelectedTrigger to execute every time a file is selected

Google Drive onItemsSelectedTrigger only executes once for each file selected and displays a cached response the second and subsequent times the file is selected, have to change folder or refresh UI ...
user3431805's user avatar
0 votes
0 answers
19 views

Multiple folders are created while using google drive api

I have the following class which should created Site-1 folder if it doesn't exist and create subfolder under it. What I observed under multithreaded environment that it creates multiple "Site-1&...
bostonjava's user avatar
0 votes
0 answers
46 views

Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential -python

I get this problem when I run my code (It uploads files to google drive folder, then return the shareable link of the files uploaded): import json import requests SCOPES = ["https://www....
Diaa Eldin's user avatar
-1 votes
1 answer
44 views

How can I make PHP to access a given normal-user DRIVE without requesting OAUTH2 credentials?

I'm willing to manage a Google Drive folder via FlySystem. I've found tons of informations about accessing Google Drive via PHP thru the official client library. But I find only 2 scenarios I can see ...
Xavi Montero's user avatar
  • 10.1k
-1 votes
0 answers
24 views

Larger Audio Files Getting Corrupted after upload to Google Drive

I m using below code to upload files from Android mobile to Google Drive. This code is written in Async task. public Object loadInBackground() { GoogleSignInAccount account = GoogleSignIn....
Panache's user avatar
  • 1,709
0 votes
0 answers
15 views

Google File Picker Export Spredsheet File as xlsx

In my next js application, i'm trying to upload files from google drive using Google File picker api and then upload them to GCP. Apart from google app files (like word, spreadsheet, jam, etc) I'm ...
Nayan Prasad P K's user avatar
0 votes
0 answers
16 views

Automate Visualforce PDF to corresponding G Drive Folder

For every Load (shipment) my company does, the customer must be invoiced. To generate this invoice we have created a Visualforce Page that renders as a PDF. I have a shared Google Drive Folder named &...
Anthony Fecarotta's user avatar
0 votes
0 answers
24 views

Run a GScript with the trigger-function

I have to process several thousand files in Google and therefore have to work around the time limits. I have imagined that I start a search filter --->> edit the first e.g. 5 documents --->&...
J. Doe's user avatar
  • 213

1
2 3 4 5
300