Random error logging into Google Drive file

Sometimes (sporadically), when the Google Drive file collector is launched in our application by a properly authenticated user, the collector does not work with a message about the need to log in to Google (note the old Google logo) - clicking on this Google message, the login button gives an error message API Developer key is invalid.

We removed the API developer key from the call to the collector and now the error message after logging in reads- Details: The feature you requested is currently unavailable. Please try again later.

Usually the collector works after refreshing the page.

Is this a known bug for the Google Drive builder, or is there a workaround?

Error accessing your Google Drive account

Google Pick Picker Developer Error Message

+4
source share
2 answers

We ended up writing our own drive and not using Google picker.

+2
source

First, make sure that you are using the browser key, not the server key, and try to check whether you are following the following steps here: Register your project . It will give you a step-by-step procedure on how to use the API key with your project. It also has sample code for you.

I also see this SO question related to your problem. The solutions here are to add a function .setCallback(pickerCallback)to createPickerand add a new function (pickerCallback). Hope this helps you.

0
source

All Articles