15,160 questions
0
votes
0
answers
10
views
Javascript Drive API nextPageToken never changes
I am trying to build a Chrome Extension using the Drive API. I believe I have it working mostly but I keep getting the same nextPageToken on recursive calls. I want to be able to list all the file's ...
0
votes
1
answer
39
views
Save Gmail Attachment to Google Drive by Label, then Change the Label Name
I've looked through several of the similar questions that have been asked, but I just can't get it to work for what I am doing. I need to get attachments from specific labels, move them to a google ...
0
votes
0
answers
34
views
How to export Google Docs as PDF with batch requests?
I am working on implementing a system to generate google docs and then export them using JavaScript using the Google API service. I have been able to make the docs, and make changes to them, but now I ...
-4
votes
0
answers
50
views
Backup a database to Users Google Drive [closed]
I am developing an app that features a SQLite database managed using the SQLiteOpenHelper class.
I want users to be able to sync their data/progress across multiple devices.
To do this, I thought ...
0
votes
2
answers
86
views
Exiting While loop
I am using a helper function to search for a folder in Google Drive that contains a number. I want to search all folders and subfolders of a specific folder. The problem is that when it finds it it ...
0
votes
0
answers
36
views
Use Google Drive API with google service account from Expo app (react native)
I am quite new in app development with Expo (react native).
I am trying to access the google drive API from my application (for private use), to have the app read some files which are in a specific ...
0
votes
0
answers
41
views
Google Drive API: files.get_media()
I have been trying for weeks to just get a docx file from Google Drive using their API. I understand the way to do this would be to use the get_media method, which has worked and I am able to get the ...
0
votes
0
answers
26
views
Can't display jpg files from the cache of my app Android React-Native
I'm trying to alternate between displaying Reddit and .jpg cache images.
However, when I try to fetch .jpg images from my cache, only one image is recovered and I either can't see the other images or ...
-1
votes
0
answers
54
views
disable sending notification email
I made a google app script with the Drive API v2 to accept pending transfer ownership request. After identifyng the id of the pendingowner object file I use Drive.Permissions.insert with {...
0
votes
0
answers
26
views
Langchain - GoogleDriveLoader
I am using the following loader for a google drive RAG solution, to get all the files in a folder:
loader = GoogleDriveLoader(
folder_id=folder_id,
token_path="token.json",
...
0
votes
1
answer
33
views
Chrome extension using Drive API returns incomplete search
I'm working on a Chrome Extension with the Drive API v3. My OAuth, API key and client_id are working fine. I'm having trouble fetching any data.
I used this as a starting point and it works fine for ...
0
votes
0
answers
62
views
Get workspace drive files along with sharing information
I have a requirement to get the list of files from drive which are shared in last 7 days within my company google workspace.
For example:
[file name: abc.txt
shared on: 19th Dec
shared with: Rick
...
0
votes
0
answers
57
views
PKIX path building failed: unable to find valid certification path to requested target when accessing Google APIs in Java
I am encountering the following error when attempting to access Google APIs in Java:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid ...
0
votes
0
answers
36
views
Changing a google drive file label value via API Python
I've been trying to modify the label value of a file using the following code.
However, it's not working. Do you have any ideas?
# Import Libraries
import os
from google.oauth2.credentials ...
0
votes
0
answers
35
views
How to Modify Files Selected with Google Picker While Using drive.file Scope in Python?
I’m working on a Python Flask project with Google Picker and Drive APIs, aiming to allow users to select files from their Google Drive and modify them. For security and user control reasons, I’m using ...