Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared Drive ID Can't Use As Directory #1

Open
cemkleinblue opened this issue Jan 24, 2023 · 6 comments
Open

Shared Drive ID Can't Use As Directory #1

cemkleinblue opened this issue Jan 24, 2023 · 6 comments

Comments

@cemkleinblue
Copy link

Hello, I just tried to use google shared drive id as its directory on the workers code.. but can't detect it.. it didn't work.. but if I use root as directory id its ok.. how to fix this?

id: 'root', // public directory id
mimeType: 'application/vnd.google-apps.folder',
size: 0,
modifiedTime: null
},
'/dav/': {
id: 'root', // DAV directory id
mimeType: 'application/vnd.google-apps.folder',
size: 0,
modifiedTime: null

@devcrono
Copy link

I can show all the data, but it doesn't load the list of folders in my gdrive and where do I get it webdive id?

@devcrono
Copy link

friend help me i can't even make something appear, it just keeps saying unaltorized

How do you post your script here so I can see how you edited it?

@cemkleinblue
Copy link
Author

I can show all the data, but it doesn't load the list of folders in my gdrive and where do I get it webdive id?

google main drive id = root
webdav id = root

if you are using shared drives, the id is different from the main drive of your google drive, it is usually found in the end of the URL link of the shared drive

there is an updated repo of this which the shared drive is already supported, visit here

@devcrono
Copy link

Good morning friend, what do I define in these fields?

id: '', // public directory id
id: '', // DAV directory id

@devcrono
Copy link

@cemkleinblue @ixiumu I managed to make the folders appear, now I would like to know.

How do I define it?
id: '', // DAV directory id

And if it is really possible to add services account to the script

@devcrono
Copy link

devcrono commented May 5, 2023

@Bhadoo
was solved
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants