15,130
questions
0
votes
0
answers
7
views
new `drive.meet.readonly` scope does not work with the drive.files.export method
I'm trying to switch from using the main https://www.googleapis.com/auth/drive.readonly scope that allows access to the entire Drive to the new more restricted one https://www.googleapis.com/auth/...
0
votes
0
answers
22
views
Google Drive API folder/files not refreshing after deleting from Google Drive
I have a html form with input fields to upload files to a Google Drive shared folder via service account (editor permission). It's using Java Google Drive API. After deleting the files/folders in the ...
-1
votes
0
answers
25
views
Slow Download Speed with Google Drive API Compared to Browser Downloads
I’m experiencing significantly slower download speeds when using the Google Drive API compared to manual downloads via Google Chrome. Here are the details of my situation:
Experiment Setup:
When ...
-4
votes
0
answers
21
views
Can linux environment be created in google drive to host private website? [closed]
Documentation for the process!
Google drive does have a linux environment right, how do i access it securely without bypassing the security.
If you're using a GNOME-based desktop environment like ...
-1
votes
0
answers
28
views
How can I export an image from Google Sheets? [duplicate]
How can I export an image from Google Sheets, specifically from the range A1 to J46? I’ve managed to export it as a PDF by sending the data through the driver (as shown in the example I’ve done), but ...
0
votes
1
answer
36
views
Error uploading file to google drive after installing jsonwebtoken (jwt)
Am creating node backend where user can upload file using the multer package, my upload.js:
const multer = require("multer");
const { google } = require("googleapis");
const fs = ...
1
vote
0
answers
48
views
File Upload with Google Drive
So I'm creating a react application where I want to convert the users conversation into a docx file and then upload it to their Google Drive
I am currently able to convert the chat data to doxc file ...
0
votes
0
answers
35
views
Apps Script function does not update PDF [closed]
I've been working on some custom features for a form made in Google Sheets to generate a PDF of the form and also update the PDF if changes are made and saved from the Sheets document.
My code runs ...
0
votes
1
answer
60
views
Exception: Cannot retrieve next object: the iterator has reached the end
I'm trying to iterate in diferents rows to collect data from users that have answered a Google forms and generate diferent documents with their data. So far I've acomplished that part of my code, but ...
-1
votes
0
answers
21
views
Why does Google Drive or Google Photos refuse old camera photos that are deemed 'too small' in file size?
While attempting to upload older photos via the Windows 10 Google Drive program, I got a message that the upload failed because the file size is too small. I don't quite understand why this has been ...
-1
votes
1
answer
35
views
java.io.FileNotFoundException when trying to create JSON file in Google Drive Appfolder
I’m writing an Android App where I need to save some data in Google Drive Appfolder.
I have configured my app on Google Cloud Console:
Configure Consent screen (I have configured the Scopes)
Create ...
1
vote
0
answers
36
views
What's the latest approach for Google Sign-in and authorize an android jetpack app to access users Google Drive data?
I am writing an android jetpack app in kotlin; and the app
has NO backend server
should use the latest recommended Android Credential Manager API and Authenticate users with Sign in with Google for ...
0
votes
1
answer
39
views
How to give permission to script to access drive when run by shared user
Document bound script when run by shared user gives an error. Script is for creating a pdf of the document in owners folder which is also shared with the user. Script is as under -
const pdfFolderId ...
-1
votes
0
answers
26
views
Dump all Google Shared Drives and the level of permission I have on them? [duplicate]
I am a member of numerous Google Shared Drives in Google Workspace enterprise. I can see them all when I go to drive.google.com.
I am trying to find a programatic way in Google Apps Script to dump all ...
0
votes
0
answers
17
views
How to increase Google Drive storage of service token? [duplicate]
I initially used a User Token to access various Google APIs (Sheets, Docs, Drive, etc.) in a Python backend script. However, I encountered an issue with the token expiring and needing to be refreshed ...
0
votes
0
answers
43
views
Google Doc API - Access Denied when using a Service Account with Domain Wide Delegation and Scope
I am a super admin of my company's Google Workspace.
And I have written a python script (using the Google Python Client Library) that performs two tasks:
Downloads or exports a file depending on mime ...
0
votes
1
answer
29
views
Google Drive API not letting me move a file to a folder
I'm trying to move a file from the root drive directory to another folder using the Google Drives API. I'm currently doing it using REST requests (no libraries), but for some reason it won't let me ...
-1
votes
0
answers
37
views
Error 403 Update role file Google drive API "The owner of a file cannot be removed." [closed]
$client = new Google_Client();
$service= new Google_Service_Drive($client);
$idfile = 'my-id-file';
$optParams = array(
'fields' => '*'
);
$results = $service->...
0
votes
0
answers
27
views
CSV Produced by Google Script is Not Updated When Triggered?
I have a google script that calls an API every day. When I run the script manually it overwrites the current files in my google drive with the most recent daily data from the API. I have set up a ...
1
vote
1
answer
120
views
Overwriting PDF File with Google Apps Scripts Causes Drive App to be unable to locate file
I have some code in Apps Script that saves a Google Sheet as a PDF.
I need to be able to update the PDF file when the form changes, without creating a new file and deleting the old one.
In theory, I ...
0
votes
0
answers
51
views
How can you tell the name of a removed file in Google Drive using their REST API?
I'm using the Google Drive API v3 to sync a specific folder in a Google Drive account with a mobile app.
So far I've managed to have it working using the changes.list method, but for the file ...
-2
votes
0
answers
25
views
Getting Folder Id and Location and adding it to google sheet
A couple issues. I use jotform for my client onboarding. When the client completes the onboarding form, i have a zap sending that data to a Google Sheet. I have Google Apps Script running to duplicate ...
-1
votes
1
answer
37
views
PDF created from Google Sheets in apps script is not displaying one Sheets "drawing" in MacOS Preview
I have a festival waiver pdf created by Apps Script, triggered by a form. The PDF displays properly in Acrobat Reader and Google Drive Preview but not in MacOS Preview.
The pdf is created using a ...
-1
votes
0
answers
24
views
I was getting this Content Security Policy errors and google is not defined when i tried to use the html file which was build from vite app
I am creating a chrome extension using react when i tried to add the google-drive-api this was working when i tried to run locally and when i tried the build version ie html this was throwing these ...
0
votes
2
answers
80
views
When uploading files to Google Drive I can't put the file title
The file is uploaded to my drive but Untitled
fn uploadFile(token: String, path: String, name: String, mimeType: String) {
let mut headers = header::HeaderMap::new();
headers.insert("...
0
votes
0
answers
27
views
Is there an alternative way to access the Google Picker API in an electron App while still using the file:// protocol?
I am trying to create an integration with Google Drive. Now the authentication with google drive seems to be working fine. The struggle came upon the integration with the Google Picker API. I am ...
-1
votes
1
answer
34
views
Error installing NUGET package when the project is in Google drive folder (0b .nupkg file)
Cannot install any NUGET package from visual studio 2022, if my projects folder located in google drive folder.
Tried to move to local folder (documents) and it's working well.
For some reason *.nupkg ...
-1
votes
1
answer
37
views
Google Drive Java API fileMetadata modifiedTime not working
With the Google Drive Java API, modifying the modifiedTime doesn't work. The update call always sets the current time instead of the one I specify.
File fileMetadata = new File();
// Set ...
-1
votes
1
answer
42
views
Google script or formula that based on the reference code in Google Sheets finds the corresponding file in Google Drive and hyperlinks to it
I have a Google Sheet array that lists details on every item for sale. In the first column is our standardized reference code (ABC#### e.g. "ABC0001", "ABC0002", etc) for each item....
0
votes
1
answer
64
views
Is there a way to detect character encoding of a blob or a string using Google Apps Script?
Looking to do this server-side (Google Apps Script) rather than to do it client-side (JS).
-2
votes
0
answers
53
views
my google app script file import suddenly stop working after one month, nothing changed
I've created an app script that serves as the back end of my file importer web page, which I could select a file, rename it and move to the corresponding sub folder in a shared Drive. It worked ...
0
votes
1
answer
43
views
Access to user's Google Drive
Is there any way to get access to saving files on the user's Google Drive without interaction with the user (Without using OAuth 2.0)?
Can I use Cloud Function as a redirect URL in OAuth 2.0 to get ...
-1
votes
0
answers
28
views
Flutter APK release: Error: ClientException with SocketException: Failed host Hookup: 'drive.google.com'
When I do an apk build on Flutter and on the page when retrieving JSON files to Google Drive there is an error:
Error: ClientException with SocketException: Failed host
Hookup: 'drive.google.com' (OS ...
0
votes
0
answers
13
views
Google Apps Script error: "GoogleJsonResponseException: API call to drive.files.insert failed with error: Bad Request" [duplicate]
I'm trying to trigger a Google Apps Script to copy an attached xlsx file from a Gmail email to a Google Sheet, but I'm getting the following error:
GoogleJsonResponseException: API call to drive.files....
0
votes
0
answers
43
views
Type error: Argument of type 'ReadableStream<Uint8Array>' is not assignable to parameter of type 'Iterable<any> | AsyncIterable<any>'
I have a nextjs project that I have implemented a function for add/deleting files on google drive, I initially got this error while developing Type error: Argument of type 'ReadableStream<...
1
vote
2
answers
69
views
How to limit Async uploads to x at a time?
I'm attempting to upload files through a web form to a Google Drive backend using the Resumable Uplaods feature. I'm starting with a script from https://github.com/tanaikech/...
1
vote
1
answer
33
views
Google sheet API pricing
I have in mind to develop an Android app using Google Sheet API to store some data. Each user of the app will have his own Google Sheet document and the content will remain private (so, me, as the app ...
0
votes
1
answer
48
views
How aistudio can use directly file from Google Drive with code
When I select a large file from google drive on Googles AI Studio. Googles AI Studio loads my file very fast. However when I use code (Nodejs), I need to download this file from then upload this file ...
0
votes
0
answers
40
views
How can I access a file stored on a Google Shared Drive in Google Workspace using the API?
I can access files stored on a standard Google Shared Drive with no issues as an "editor" using the API, however I can't access files stored on a Google Shared Drive in Google Workspace even ...
0
votes
0
answers
20
views
How do I modify replies to revisions with Google Drive API?
For Google Drive API, I know how to modify comments (comments.update, which requires fileID and commentID). I know how to modify replies to comments (replies.update, which requires fileID, commentID, ...
0
votes
0
answers
37
views
Upload file to Google Drive in specific folder location Using Postman
I have a requirement to upload the pdf files to google drive in specific folder. for that I am referring to the google drive documentation
I am able to configure the setup as per the documentation ...
0
votes
0
answers
33
views
Unable to access the existing drive folder using the drive.file scope
We have been using the Google Drive REST API to access the metadata of a file using the fileId. The basic API URL is: 'https://www.googleapis.com/drive/v3/files/{fileId}'
We have created Google Drive ...
0
votes
1
answer
56
views
How to programmatically remove my access to a shared Google Drive file when I am not the owner?
Context:
I am trying to use the Google Drive API to remove my own access to files that have been shared with me. My goal is to stop having access to these files entirely. I am not the owner of these ...
0
votes
0
answers
51
views
nextjs google sign in
I'm just curious about sign-in/authentication libraries like for example is clerk and Lucia.
right now I'm using nextAuth with a simple sign in to google, the process is opening console.cloud.google, ...
-1
votes
0
answers
26
views
Find the folderID from a shared fileID (not in myDrive or TeamDrive) [duplicate]
how I can analyse the folderID from a file with is shared with me an i know the fileID?
Is there any way About Google-Scripting?
Greetings
I have done the following so far without success:
I search ...
0
votes
0
answers
31
views
How to decode an image loaded from nextcord attachments without saving it
I am using replit and python to create a database bot that stores images on google drive. My scheme looks like this:
/imgsave command, asks about where to store the image
|
|
!imgload command, loads ...
0
votes
0
answers
42
views
Google Drive API - iOS/Android - How can user allow access to file?
My iOS/Android app is using "drive.file" scope for Google Drive API. I want to be able to download files the user has created. In order for my app to see the file, the user has to ...
0
votes
0
answers
30
views
Google Drive API returns empty result despite correct query
I'm using the Google Drive API to list folders at the root of my Google Drive. Despite my queries being correct, the API returns an empty result set. Here's my current setup:
I have a Google Drive ...
1
vote
1
answer
45
views
We have been encountering persistent 500 Internal Server Errors while using the Google Drive API
We have been encountering persistent 500 Internal Server Errors while using the Google Drive API. Despite implementing backoff functionality, these errors have been occurring frequently over the past ...
0
votes
1
answer
27
views
Why Google_Service_Drive type is undefined
Please someone help me with this.
Why the Google_Service_Drive is undefined? I Has installed the google/apiclient and do the configuration on .env file but it still says its undefined.
I've been tryng ...