All Questions
Tagged with google-drive-sdk or google-drive-api
15,983 questions
-1
votes
0
answers
92
views
Google Drive API: Folder creation in Shared Drive fails with corpora parameter [closed]
Problem
I'm trying to create folders in a Google Shared Drive using the Google Drive API v3, but the folder search is not finding existing folders, causing duplicate folders to be created.
Environment
...
Advice
0
votes
0
replies
41
views
Google Drive ‘All’ data store - entire workspace or only datastore creator’s access?
I connected my AI application to a Google Drive data store with the Drive source set to ‘All’.
Does this mean each user that talks to the agent will be able to access
All their own drives?
Only ...
-6
votes
0
answers
49
views
Google Drive Upload Failed through SDK [closed]
https://www.googleapis.com/upload/drive/v3/files/1x7ipims8jrVC2tuWyaUT7IF2ykvGUry8?uploadType=resumable&convert=False&supportsTeamDrives=true&addParents=1HqLvpxE6YWwIIHaSiJ31gY2FYhg_b4F8&...
0
votes
1
answer
110
views
Google drive api v3 transfering ownership keeps stated that i don't have permission
I'm want to transfer files quickly to my other account using python. But I get a problem whenever I tried, it always returns
2026-04-17 17:22:45,421 INFO file_id=...<file-id>....- status=failed ...
Best practices
0
votes
6
replies
85
views
Google Drive resource access
I have a file in the Drive storage. It has <ResourceID> ID. I can direcly download it by link https://drive.google.com/uc?export=download&id=<ResourceID>. Plese, point out ...
Tooling
0
votes
4
replies
136
views
Google Drive Folder File Counting Script
I need a reliable Google Sheets script that counts files in multiple Google Drive folders.
Requirements:
Handle all types of links or folder IDs in column E (plain URLs, rich-text links, or raw IDs).
...
Advice
0
votes
1
replies
188
views
Flutter Windows desktop - correct way to handle OAuth2 client_secret for Google Drive integration
I'm building a Flutter Windows desktop app that integrates with Google Drive.
I'm trying to determine the correct, secure approach for handling OAuth2
client_id and client_secret. We currently fetch ...
-1
votes
1
answer
196
views
Drive API v3 rejects OAuth token when Gmail scopes are included in manifest
Problem Summary
I have a Google Apps Script that needs to:
Generate sharing links using Drive API v3 Advanced Service
Send emails with alias using Gmail API via REST
These work independently, but ...
0
votes
1
answer
116
views
Script that creates HTML that references files in google drive
I have a script that creates an HTML file, and I would like for the HTML to be able to access files on my google drive (mainly for img tags). I've found various posts that gives ways to do this, but ...
1
vote
0
answers
70
views
Persisting invisible metadata through Google Drive Export/Import cycle (Docs/Slides/Sheets to OOXML)
I am developing a document synchronization service that manages files between a central server and users' local PCs.
I need to embed a Unique ID (UUID) into each file to track it.
The ID must persist ...
3
votes
1
answer
68
views
Is raceless optimistic concurrency possible in google drive v3 interface?
I’m building a browser SPA sync engine and want race-free optimistic concurrency for Google Drive file updates/deletes.
In many HTTP APIs the pattern is:
GET resource → capture ETag
PUT/PATCH/DELETE ...
5
votes
0
answers
261
views
Google OAuth 2.0 "App Not Verified" Warning Despite Verification Status and In Production Scope Use (drive.file)
I have deployed an Angular web application to production that uses the Google Drive API (via the Authorization Code Flow) to allow users to link their Drive and upload and view specific files.
Despite ...
1
vote
0
answers
60
views
Google drive API list files in specific folder always returns empty
im trying to fetch the number of files in a specfic google drive folder but it always returns an empty array of files.
const folderHasFiles = async (folderId) => {
try {
const query = `'...
0
votes
1
answer
63
views
Why does Google Apps Script return unspecified error when authenticating tester of Docs formatter?
I have a simple script for iterating over files in a directory in my Google Drive and applying regexes to Google Docs. Recently I have been prompted to revise permissions on execute, and when I select ...
0
votes
1
answer
121
views
How do I specify a "q" parameter for www.googleapis.com/drive/v3/files
In the Google Slides API sample, it says to do a GET request:
GET https://www.googleapis.com/drive/v3/files?q="mimeType=application/vnd.google-apps.presentation"&fields=files(id,name,...