iterative / iterative/PyDrive2

Fail to authenticate with pydrive2 to google drive

Open
#300 4 comments 0 reactions 0 assignees View on GitHub
question triage
Dominant language
Python
Stars
670
Forks
75
PR merge metrics
No merged PRs in 30d

Description

I am using the following standard code.

```
from pydrive2.drive import GoogleDrive
from pydrive2.auth import GoogleAuth

# Authenticate and create the PyDrive client.
gauth = GoogleAuth()
gauth.LocalWebserverAuth()
drive = GoogleDrive(gauth)
```
I am getting the following error.
Screenshot 2023-08-30 at 23 20 38

I am using MacOS (intel).

I was able to find such issue in stackoverflow also

https://stackoverflow.com/questions/64995468/fail-to-authenticate-with-pydrive-to-google-drive

The solution from stackoverflow is not working for me.

I am using PyDrive2 1.17.0

How can I sole the issue? I am using port 8080. Should I try another port?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.