PyDrive icon indicating copy to clipboard operation
PyDrive copied to clipboard

Authentication Link error

Open Matty0512 opened this issue 7 years ago • 6 comments

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."

Matty0512 avatar May 17 '18 13:05 Matty0512

Same issue

lolstatsguy avatar May 18 '18 11:05 lolstatsguy

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.

jaidmin avatar May 23 '18 13:05 jaidmin

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.

papadarth avatar May 25 '18 11:05 papadarth

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

jaidmin avatar May 25 '18 11:05 jaidmin

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

papadarth avatar May 25 '18 12:05 papadarth

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

LandalGreenParks avatar Apr 15 '20 11:04 LandalGreenParks