-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi!
I tried the following code snippet:
import gdrivefs
from urllib.parse import urlparse
repo_url = 'https://drive.google.com/drive/folders/some-folder-id?usp=sharing'
parsed = urlparse(repo_url)
folder_id = parsed.path.split('/')[-1]
gdfs = gdrivefs.GoogleDriveFileSystem(token='browser', root_file_id=folder_id, access='read_only')
print(gdfs.ls(""))On running the above, I get an OAuth2 URL which I use to authorize the application (PyData Authentication). Upon visiting the link, I get the following error:

Kindly note the access='read-only' argument. I don't get the error with access='full_control'.
Any and all help will be appreciated! Thanks!
Metadata
Metadata
Assignees
Labels
No labels