googlearchive / PyDrive

Google Drive API Python wrapper library
Other
1.3k stars 273 forks source link

Authentication Link error #132

Open Matty0512 opened 6 years ago

Matty0512 commented 6 years ago

auth.authenticate_user() gauth = GoogleAuth() gauth.credentials = GoogleCredentials.get_application_default() drive = GoogleDrive(gauth)

I have been using this code on google colaboratory for accessing my google drive files and it has been working fine. But recently (within the last two weeks) whenever I click on the authentication link it takes me to an error screen saying:

"500. That’s an error. There was an error. Please try again later. That’s all we know."

lolstatsguy commented 6 years ago

Same issue

jaidmin commented 6 years ago

same issue as well

EDIT:

I could pin it down to gcloud auth login returning a link which leads to a 500 Error code. I tried updating, that didnt help.

papadarth commented 6 years ago

same issue, now for more than two week. it shows up, directly using colab.research.google.com (standard login as described above) and google cloud when tryin to connect with gcloud auth login.

jaidmin commented 6 years ago

I found a fix for me, open the link in a private tab/browser where you are not logged into your Google account. Then you will be prompted to log in and grant permission.

I don't know what exactly is the reason for this, might be some problem with the cookies or something.

Cheers, Johannes

papadarth commented 6 years ago

Hey Johannes, the fix worked for me as well. Thanx a lot, Cheers Tobias

LandalGreenParks commented 4 years ago

Removing cookies for https://colab.research.google.com/ worked for me!