Skip to main content

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
0 votes
2 answers
18 views

Using Apps Script to automate sending multiple emails from a google sheet, each with a different specific pdf attachment stored in Google Drive

This works to send automated emails from the same Google sheet, but when I added lines 9, 18 and 21(attachments part) it keeps returning Exception: Cannot retrieve the next object: iterator has ...
Ronald Turner's user avatar
0 votes
1 answer
26 views

What is Google Drive's URI for uploading files

I am new to Google Drives and Cloud, with respect to automation. My company wants me to upload to their Google Drives location, NOT in Google Cloud Services buckets. I am planning on doing this with ...
Caolan's user avatar
  • 149
-2 votes
0 answers
42 views

CURL download request from Google Picker API [closed]

I have this curl request that is working but when I go to view the image after I download it, it wont open because it says "we don't support this file format"? Here's the request, the data ...
Dylan Oldham's user avatar
0 votes
0 answers
22 views

When using Google Colab, Python package 'datasets' just disappeared from virtualenv directory 'site-packages'

I'm using Google Colab and trying make a virtual environment to work. My code is: from google.colab import drive drive.mount('/content/drive') !pip install virtualenv myenv_dir = '/content/...
Gustavo Mirapalheta's user avatar
-2 votes
0 answers
24 views

How to edit text in pre existing google docs instead of generating new ones using apps script

I have a script I wrote for my AppSheets app that generates construction reports and compiles information from 5 different sheets into a google document template. It sorts data based on a uniqueID ...
Cameron Kirby's user avatar
0 votes
0 answers
14 views

Initiate push to local machine from Google Drive [duplicate]

I have a Sheets app script that does a number of things but finishes by creating 4 flat files on my Google Drive. I'd like to extend this by pushing the created files to my local machine immediately ...
Jeff Prisco's user avatar
-2 votes
0 answers
13 views

The issue with paid workspace google drive file not uploading using Google drive API with PHP 7.4 [closed]

When i used google picker for the upload document from Google drive then issue facing that file not found for the paid/business workspace of google drive and after that shared drive's file not ...
Hardik Patel's user avatar
0 votes
1 answer
24 views

App Script Project deleted - how to restore it?

I deleted a project by mistake and can't retrieve it. Is there any way to restore it? I tried restoring an earlier version of the gsheet file to which the app script project was linked. I have tried ...
Future Moto Ricambi's user avatar
-3 votes
0 answers
24 views

Google Drive - have View access on the folder, but can not see certain files

I have a Google drive. It has a folder. I gave several people "View" permission on that folder. And as expected, when a file is put in the folder, the file inherits the permission of the ...
Andrew Yi's user avatar
0 votes
0 answers
25 views

Failing to retrieve google drive labels using google service account

I'm using google service account to interact with google drive - reading files and folders etc. It works fine but i can't retrieve labels. Even if i specifically require labelInfo in fields, it's ...
Gabrielius Krunkauskas's user avatar
0 votes
0 answers
28 views

AppScript WebApp File Upload Error: "Cannot read properties of undefined (reading 'getFoldersByName')"

I'm developing an Apps Script WebApp that includes an upload function. This function should allow users to upload a file from their machine to Google Drive and allocate it to a specific folder based ...
Eduardo Bertrand's user avatar
0 votes
1 answer
33 views

How I can create a token.json using google drive api Python

I am trying to create a token.json file to save data without having to log in every time to approve an account This is a code that deletes 100 files at the same time. Every time I run a code, I must ...
mr king's user avatar
1 vote
1 answer
62 views

How can I limit the scopes to only the current spreadsheet and use OAuth to print a PDF

So I have this PDF Template hosted on a sheet. I want to download it to my PC whenever a function is called. I would like to limit it to only this spreadsheet. I have the following appscript.json: { ...
Elanu's user avatar
  • 27
1 vote
0 answers
35 views

Google Drive watch does not invoke callback after initial sync

I need to receive a callback whenever a known folder for a user in my enterprise receives new files. I've setup a service account and gave the domain wide permissions with the Google Drive Scope. ...
Eduardo Poças's user avatar
0 votes
1 answer
13 views

How do I retrieve lastModifyingUser from Google Drive API?

I need to retrieve the list of revisions for some files in Google Drive. Here is my code: from googleapiclient.discovery import build # obtain creds using oauth flow, removed for brevity service = ...
jamiet's user avatar
  • 11.7k

15 30 50 per page
1
2 3 4 5
1005