• Register
1 vote

Problem :

Currently I am trying to use the Google Drive in one of the projects with the use of API. But If I try to open the popup then I am facing below error.

In order to select an item from your online storage, please sign in.

To fix the above issue I tried to do the research on it I found below solutions on it.

1.  Need to Disable Block third-party cookies from the chrome browser.

2.  Allow [*.]google.com

But both above solutions are not working for me. Is there anyone who can help me in fixing above error?

8 5 2
3,230 points

Please log in or register to answer this question.

1 Answer

1 vote

Solution :

I can help you in fixing your error related to Google.

The easiest way to fix your issue is as below

Go to Settings in your Chrome then you need to go to Content Settings and simply Uncheck Block third-party cookies and site data.

If above solution is not working for you then you can use below approach

Validating your token may work before using your token each time but it may add some extra overhead for the rare use-case when each time we try to load your picker and if calling your API endpoints with the use of token after you try to re-authenticate issue and there was no key about the token being invalid. Then you can try to validate your token by simply making the web service request to the endpoint on a Google Authorization Server and then you can perform the string match on a results of your web service request.

8 4 1
5,680 points

Related questions

0 votes
1 answer 2 views
Problem: I'm building a web application on top of the Google Drive API. Basically, the web application displays photos and videos. The media is stored in a Google Drive folder: Once authenticated, the application makes requests to the Google Drive API to get an URL ... /poc-drive-api.firebaseapp.com The source code is also available: https://github.com/Mcdostone/poc-google-drive-api (file App.js)
asked 1 day ago anika11 32k points
0 votes
1 answer 18 views
Problem: If you're using Google Apps for Work (also called G-Suite) and uploading files to your Google Drive via the Drive API you'll eventually find yourself with an error message that looks like this: Error: The user's Drive storage quota has been exceeded.
asked Mar 20 ummesalma 29.2k points
0 votes
1 answer 5 views
Problem: Hi, any idea that what should I do to fix it … Upload videos from google drive to youtube
asked Apr 4 Ifra 34.7k points
0 votes
1 answer 151 views
Problem: I am trying to auto-fill an address using the google mapsAPI in my application, but I keep getting the error "InvalidValueError: not an instance of HTMLInputElement". Below are the things I have tried Html input within a form. As you can see I tried the focus trick and it ... == undefined || place.geometry === null) { return; } }); }) } ) } Tried 4 different things, no luck this worked
asked Nov 4, 2020 sasha 16.2k points
0 votes
1 answer 5 views
Problem? I am trying to download free ebook pdf file through google book api, but I don't succeed. When I check in browser what output comes then that link is giving me download of .acsm format file in explorer or browser. So how I can I download pdf file from .acsm link OR Convert .acsm to pdf format?
asked Apr 12 anika11 32k points
0 votes
1 answer 6 views
Problem: I am stuck now .. need some suggestions .. please help me .. how to upload zip file in google drive
asked Apr 7 Ifra 34.7k points
0 votes
1 answer 1 view
1 view
Problem: I use the following for a jQuery link in my <script> tags: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js Is there a link to the "latest" version? Something like the following (which doesn't work): http://ajax.googleapis.com/ajax/libs/jquery/latest/jquery.js (Obviously not necessarily a great plan to link your code to potentially changing libraries but useful in development.)
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 8 views
Problem: Could you please show me how to search for square images on Google?
asked Apr 14 jamuna1 30.2k points
0 votes
1 answer 2 views
Problem: Someone help me for searching square images on google.
asked Apr 14 zayed1 58.7k points
0 votes
1 answer 24 views
Problem: user does not have sufficient permissions for this profile.
asked Feb 17 Ethan ross 2.7k points