335 questions
Advice
0
votes
4
replies
58
views
Slides Add-On accessing Sheets Data and Narrowing Scopes
I have an Add-On under review in the Google Marketplace.
My Add-On runs in Google Slides and needs to access Google Sheets data to create various visuals in Slides. Specifically my Add-On pulls data ...
1
vote
1
answer
118
views
How do I filter the Google Picker to show only files created by drive.file scope?
I have an app where users (using the drive.file Oath scope) can create a new Sheet. I want to display the Google Picker to display the Sheets they've created with my app BUT the Picker is showing ALL ...
0
votes
0
answers
132
views
Accessing all files in Google Drive using Google Picker with drive.files scope
Goal
Let users create files in my web app and save them to Google Drive.
Let users use Google Picker to select any file they own or that’s shared with them.
After selection, let my app download or ...
2
votes
2
answers
359
views
Google Drive API files.download restricted scope
I've a web application that uses the Google File Picker to select a file, and then internally my backend takes the fileId and calls this API to download it:
https://developers.google.com/workspace/...
2
votes
2
answers
275
views
Selecting a folder in the Google Picker with the drive.file scope
Google is pushing developers to use the drive.file scope instead of the drive.readonly scope (which is restricted) while encouraging the use of the Google picker.
Using the Google picker and drive....
0
votes
0
answers
106
views
Long-lasting access to files opened with Google Picker API
My app needs continuous/background access to file data (docs and spreadsheets) that the user selects through the Google Picker API. Meaning, I need to access the file e.g. days after it was first ...
0
votes
0
answers
51
views
Google Picker move into folder when selected
If I use a DocsView view in Google Picker with setIncludeFolders(true) and setSelectFolderEnabled(true), I can move into a folder by double clicking on it. However if I click on the folder name and ...
0
votes
0
answers
114
views
Alternatives to Google Picker for Selecting Existing Files in Google Cloud App Using drive.file Scope
I have a Google Cloud application that operates with the drive.file OAuth scope among some other non-sensitive scopes. I want to enable our app users to select their existing files for use within the ...
0
votes
0
answers
173
views
How to Access Google Drive Files Programmatically Using drive.file Scope and Picker setFileIds()?
I am developing an application that processes resumes submitted via Google Forms, storing them on Google Drive. Our app uses ATS scoring and filtering algorithms to evaluate these resumes. I want to ...
1
vote
1
answer
315
views
Using Google File Picker to reduce drive scopes in apps script add-on
I am working on a Google Docs Extension (Add-on) that exports a file into the same folder as the current document. I need my script to use the narrowest scopes so it can pass the verification process ...
0
votes
1
answer
160
views
google picker cannot select multi item
I use demo code from goole-https://developers.google.com/drive/picker/guides/sample and fill what I should complete like API_KEY;but cannot selet multi file still; I copied the dom and I can find aria-...
1
vote
0
answers
84
views
Is it possible to integrate the Google Picker API into a UWP application?
I am developing an application on Universal Windows Platform (UWP) that works with calendar events. I need to integrate Google Picker API to download files from Google Drive.
This functionality is ...
0
votes
1
answer
102
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 ...
0
votes
1
answer
90
views
Google Picker popup window not loading - Django
I am using Google's documentation on the Google Picker at https://developers.google.com/drive/picker/guides/sample and the popup for google drive is not opening when i use this code in django template....
1
vote
1
answer
269
views
How to download Google Drive files without using restricted OAuth scopes
I'm working on a Google Drive integration that allows users to select files using the Google Picker API on the frontend and then sends the file information to the backend for downloading and uploading ...
-1
votes
1
answer
127
views
Is Google Picker API affected with deprecation of client side javascript libraries?
I am looking to implement Google Picker modal into my product. However, while I was going through the documentation, I came across a page which mentions that the JS libraries are being deprecated.
...
0
votes
1
answer
84
views
Is it possible to give a GAS application permission to a selected folder using the Google Picker API?
I am creating a web application with the GAS app.
I want an unspecified number of users with G accounts to be able to select a Drive folder from the GAS app and grant the GAS app permission to that ...
0
votes
0
answers
106
views
Google picker API in Chrome extension MV3
Does anyone know if its possible to use Google picker API in Chrome extension MV3? The biggest issue I have is the fact that MV3 does not allow external script ingestion which is required for GOogle ...
1
vote
1
answer
566
views
From the Google Picker, after selecting the file, I receive a "file not found" error in the backend integration
Our application encounters an error from Google Drive when attempting to download a selected file from the Google Picker.
We have two applications, one for the production environment and one for the ...
0
votes
0
answers
175
views
Google Picker API not firing callback when using toUri() in iframe
I'm trying to get the Google Picker API to work inside an iframe instead of the default modal that loads on top of everything. I get the picker to load, can browse files, but when I click 'Select' the ...
1
vote
1
answer
330
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 ...
4
votes
1
answer
343
views
Google Picker API auth
I plan to have a webapp for user to upload file to my drive. I create a service account and get the OAuth token for Google Picker. I confirm the access token is vaild. However, Google Picker API ...
0
votes
1
answer
179
views
Access token obtained with 'auth-code' login flow with 'drive.file' scope, later used for picking file and on the server returns "entity not found"
I need help.
I use 'auth-code' login flow (with 'drive.file' scope) in my react app, and then exchange this cde on the server for access and refresh token, and return access_token back to react ...
3
votes
0
answers
1k
views
Accessing Contents of a Folder With drive.file Scope - Google Drive API
I'm creating a web-app on top of Google Drive. Althoguh I want to use the most restricting scope (drive.file) I stumbled accros a problem when trying to pick a folder instead of single file.
When user ...
4
votes
3
answers
1k
views
Implementing the Google Drive File picker in iOS
We are currently in the process of transitioning scopes for out app from the restricted 'auth/drive' scope to 'auth/drive.file' scope, however, it does not seem like the Google Drive Picker is ...
1
vote
0
answers
247
views
How to Select Files in Android Application with 'drive.file' Scope
I am currently working on the development of a full native Android application and have received communication from Google to transition from the restricted 'auth/drive' scope to the less restrictive '...
0
votes
0
answers
154
views
open google picker in chrome extension
I have been trying to open google picker from a chrome extension. I want to select a file from google drive and get the info about the file. I use manifest v3 for my extension. I am tried to implement ...
0
votes
0
answers
184
views
Google Drive Picker API asking for consent everytime even in the same session in authorization code flow approach
The client side implementation is currently this
function initClient() {
client = google.accounts.oauth2.initCodeClient({
client_id: CLIENT_ID,
scope: SCOPES,
...
2
votes
1
answer
134
views
Get metadata for files selected via Google File Picker
I'm using the official Google Picker code sample as a base to attempt
✅ user authentication and authorization;
✅ to trigger the Google Picker for selecting/ uploading (only) image files;
❌ to return ...
1
vote
0
answers
393
views
How clear all cookies in Nuxt3?
I'm currently work on a Nuxt3 app for first time.
In part of app i have a form with google picker for user's drive access.
All works but when users submit the form i revoke the token used for the ...
4
votes
0
answers
580
views
Access to a specific folder only in google drive using google picker
I want the user to have the ability to grant access only to a specific folder in Google Drive. To achieve this, I'm using the drive.files scope and this simple code from the examples.
function ...
0
votes
0
answers
228
views
Navigation not possible when a parent is set in Google API picker (docsView)
I'm a bit stuck with the Google API and the Drive file picker.
I want the Drive file picker to open at a given location (folder) in Drive, but users should also be able to navigate outside that ...
1
vote
2
answers
373
views
Google Picker API - 500 Error When Using DocsView
I am currently getting a 500 error when using the Google Picker API with the DocsView.
var builder = new google.picker.PickerBuilder();
builder.setOAuthToken(authToken);
builder.setDeveloperKey(...
1
vote
1
answer
219
views
Failed to get the driveId in the callback of the google picker in shared drive
I am trying to get the shared drive id in the callback of the google picker. The response I am getting is attached in screenshot
These are the scopes for getting the drive data
Following is the code ...
3
votes
1
answer
1k
views
Google API Picker getting 400 errors in console - when logging back to Google at logImpressions endpoint
We have the Google Picker working, but have noticed that the picker code seems to be trying to log events to Google, and is getting 400 errors when doing so.
Looks like Google library code trying to ...
0
votes
1
answer
1k
views
How to show a list of "shared with me" files in Google Picker
Google Picker is working fine for the user's own Drive, but I want to add the option to see files shared with the user, as per drive.google.com where you have both My Drive and Shared with me:
This ...
0
votes
2
answers
471
views
Google drive picker selected files are not publicly accessible
I am trying to open the selected file from google drive picker in incognito mode, but it is asking to sign in accounts. I want that file as a public file. Without logging in our account, we should ...
1
vote
1
answer
180
views
Is google drive picker api support delete files and upload folder?
I was going through the google drive picker api docs, I didn't find the proper solution to handle the delete files/folder(s) through the picker.
I just wanted to confirm that google picker support the ...
1
vote
1
answer
630
views
Google picker requires 3rd party cookies
We are migrating from deprecated Google Sign-in (basically gapi.auth and gapi.auth2 methods) into the new Google identity services (google.accounts.oauth2). More info here
We are using the ...
-1
votes
1
answer
101
views
Upload file from google drive to my web app when user selects file from google drive picker
I am new to meteorJs framework. I have a use case like when an user clicks on a button google drive picker has to open after google authentication and when user select any file from the google drive ...
0
votes
0
answers
106
views
Google drive picker API "this.qi is not a function"
I am trying to load the google drive picker API in my project.
This source code is taken from Google Picker Code Sample
This is my source code.
gapiLoaded() {
window['gapi'].load('client:picker', ...
1
vote
1
answer
326
views
Why is Google Drive Picker API using wrong scope when updated?
In setting up the Google Picker API I initially set it up to use this scope: https://www.googleapis.com/auth/drive.metadata.readonly which listed 2 services as expected.
When updating the picker to ...
0
votes
0
answers
28
views
Save file into local directory using javascript and vb.net [duplicate]
I've done the Google Drive API integration. User can choose/upload file from google drive. Now, I want to save google drive file into my local directory.
I am getting binary data of file using below ...
0
votes
1
answer
2k
views
Fetch videos from my personal google drive and display on website [duplicate]
I want to use google drive as a video hosting platform.
I have a website where I offer a video course. I would like to use the videos I stored in my google drive, fetch them and display them on my ...
3
votes
2
answers
1k
views
Can I read a drive file opened using Google Picker with drive.file oauth scope?
I created a forms addon with scope:
https://www.googleapis.com/auth/drive.file
and created a picker:
function onOpen(e)
{
FormApp.getUi().createAddonMenu()
.addItem('Sync to Drive', 'showPicker')
...
1
vote
2
answers
1k
views
google picker is not woking in react
react-google-drive-picker
react-google-picker
methods from both package are expired.
response when try to authenticate :
{
error: "idpiframe_initialization_failed",
details:"You ...
1
vote
0
answers
235
views
Submit and Cancel Button not working in react google picker
Submit, Cancel, close Buttons are not working in react google picker , But can select file by double clicking the file
import GooglePicker from "react-google-picker";
<GooglePicker
...
1
vote
0
answers
65
views
Google Picker API - Error: idpifram_initialization_failed
I have the following code
JS:
var clientId = "236416465129-r17h1bb7qoen8qcs0v1ttrbtdaj8vp41.apps.googleusercontent.com";
scope = ['https://www.googleapis.com/auth/drive.file'];
var ...
0
votes
0
answers
570
views
(403) Insufficient Permission on google picker with account from workspace
My web application is integrating with Google Picker.
I have separated flow for user to link their email account with scope "https://www.googleapis.com/auth/drive.file" and stored the user ...
3
votes
2
answers
1k
views
Google Picker API - showing only files user can share
I would like to use the Google Picker to choose a specific file from Drive, get its id and then share it with some other accounts using Drive API. The problem is that I can either:
see all of the ...