EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Google Drive returns "Daily Limit for Unauthenticated Use Exceeded"

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#35029
Posted: 11/17/2015 08:52:14
by Paolo Righi (Standard support level)
Joined: 02/15/2008
Posts: 34

Hi to all,

I can't find the right way to treat the case when the Google Drive service returns the error in the title.
Please consider I implemented the connection procedure as in the example project:
URL := GoogleDrive.StartAuthorization();
if URL <> '' then begin
TfrmLogin.Execute(URL, Code);
GoogleDrive.CompleteAuthorization(Code);
end;
..

What should the connect procedure change in this case?
Thank you a lot.

Best regards.

Paolo Righi.
#35041
Posted: 11/18/2015 09:50:28
by Alexander Ionov (EldoS Corp.)

Thank you for contacting us.

I didn't see such an error but as far as I can find it in the Internet, it can occur if you didn't enable access to Drive API in the Google Developer's Console. You have to enabled that API use and then relogin in your app (to do this, you need to clean up the access and refresh token if you have them stored, and login again).




--
Best regards,
Alexander Ionov
#35067
Posted: 11/20/2015 10:47:38
by Paolo Righi (Standard support level)
Joined: 02/15/2008
Posts: 34

Hi Alexander,

access to drive API is enabled, but it can last only 1 hour, after that time you need to login again.
My question was what to do exactly to re-login.
Clearing the refresh token and the access token I can reach the goal. Thank you.
You can see where the time out is defined:


Best regards.

Paolo Righi.
#35068
Posted: 11/20/2015 11:07:14
by Alexander Ionov (EldoS Corp.)

Quote
claude ostfeld wrote:
access to drive API is enabled, but it can last only 1 hour, after that time you need to login again.

Your picture shows the page for Google Cloud Pub/Sub API, not for Drive API. The needed page in my console is looking as the following:




--
Best regards,
Alexander Ionov

Reply

Statistics

Topic viewed 1555 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!