JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.02.2021, 02:45
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default Empty or Private folder error with Google Drive?

Hey guys

I'm trying to download this link here from gdrive

Spoiler:
**External links are only visible to Support Staff****External links are only visible to Support Staff**


and JD says "EMPTY OR PRIVATE FOLDER {id}"... but if you open any folder, you will see several folders with several files inside of it. i have no idea what i can do. Any idea what it might be happening here?


Cheers =)
Reply With Quote
  #2  
Old 22.02.2021, 15:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Works fine here.

Here is a possible workaround which should help you:
1. Create a Google Drive API key:
elfsight.com/blog/2020/03/how-to-use-google-drive-api-and-get-an-api-key/
2. Go to Settings -> Plugins -> drive.google.com -> Enter your API key here
3. Now re-addthat URL to JD - it should work fine now.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 23.02.2021, 02:36
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

Quote:
Originally Posted by pspzockerscene View Post
Works fine here.

Here is a possible workaround which should help you:
1. Create a Google Drive API key:
elfsight.com/blog/2020/03/how-to-use-google-drive-api-and-get-an-api-key/
2. Go to Settings -> Plugins -> drive.google.com -> Enter your API key here
3. Now re-addthat URL to JD - it should work fine now.

-psp-

Hey @pspzockerscene

no luck... same result.... but it did found more folders this time, but all of them as ""EMPTY OR PRIVATE FOLDER {id}"still...

The steps I did

- created a new API key, according to the website you sent
- added into gDrive plugin
- tried again
- no luck
- removed the account (gdrive account in my Jd)
- added the API key again
- closed Jd (in case if it want to re-read new configuration or something)
- opened it again
- no luck =(

any more steps i should do this time?


Cheers =)
Reply With Quote
  #4  
Old 23.02.2021, 13:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Please post a DEBUG-Log.
Maybe post one with- and one without API-Key.

Please post your log-ID here | bitte poste deine Log-ID hier.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 24.02.2021, 02:20
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

Quote:
Originally Posted by pspzockerscene View Post
Please post a DEBUG-Log.
Maybe post one with- and one without API-Key.

Please post **External links are only visible to Support Staff**... | bitte poste **External links are only visible to Support Staff**....

-psp-
Sure! Here it is!

With API key
23.02.21 18.31.01 <--> 23.02.21 22.18.29 jdlog://0665725302851/

Without API key
23.02.21 18.31.01 <--> 23.02.21 22.19.24 jdlog://1665725302851/


Want a log with and without the link too?


Thanks =)
Reply With Quote
  #6  
Old 24.02.2021, 14:26
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Your logs do not contain any GDrive activity.
Please make sure to enable debug logs first (see instructions linked in my last post and HERE again) and post new logIDs.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 24.02.2021 at 20:30.
Reply With Quote
  #7  
Old 24.02.2021, 19:44
murdercaviar murdercaviar is offline
Modem User
 
Join Date: Feb 2021
Posts: 2
Default Empty or Private folder error with Google Drive?

I'm trying to download a folder from a private group on Google Drive. I linked my Drive account with JDownloader and put in API key, and yet I get "EMPTY OR PRIVATE FOLDER ERROR" when I try to download. How do I fix this?

Thanks.
Reply With Quote
  #8  
Old 24.02.2021, 20:07
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Merged similar threads.

@murdercaviar
Please read the previous posts and provide logs and example URLs...

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #9  
Old 24.02.2021, 20:27
murdercaviar murdercaviar is offline
Modem User
 
Join Date: Feb 2021
Posts: 2
Default

Quote:
Originally Posted by pspzockerscene View Post
Merged similar threads.

@murdercaviar
Please read the previous posts and provide logs and example URLs...

-psp-
Hello,

24.02.21 21.21.55 <--> 24.02.21 21.25.29 jdlog://9385725302851/

GDrive account linked and with API key.

Thanks.
Reply With Quote
  #10  
Old 24.02.2021, 20:32
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

JDownloader cannot crawl private GDrive folders - this is a known issue.
Please read THIS thread - at also contains one possible workaround.
A bugfix for this won't be available any time in the near future!

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #11  
Old 25.02.2021, 00:38
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

Quote:
Originally Posted by pspzockerscene View Post
Your logs do not contain any GDrive activity.
Please make sure to enable debug logs first (see instructions linked in my last post and **External links are only visible to Support Staff**...) and post new logIDs.

-psp-
Hey pspzockerscene

I think i did it right this time... hopefully i did it right =)


No API key - for some reason, it found some folders, but is missing several other folders, as you can see in the image below

24.02.21 19.46.32 <--> 24.02.21 19.54.37 jdlog://0885725302851/






WITH API key -
24.02.21 19.56.12 <--> 24.02.21 20.10.00 jdlog://3885725302851/

As weird as it may sounds, after I added my API key, for some weird reason, my Jd no longer crawls any gDrive links and only returns me "No valid account"... even after entered a new account, closed and opened JD again. No luck! Weird


Thanks =)
Reply With Quote
  #12  
Old 25.02.2021, 16:41
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Got it fixed!

Multiple bugs and strange API behavior of the GDrive API were coming together here!
Also your folder indeed contains a lot of empty folders but JD crawled this folder in the opposite way than how it is sorted via browser and it failed to find all items which is why you only got offline items in API mode.

Next update fixes this issue and will also name offline folders in a way so that you can see the full folder path leading to these offline items.

After the next core-update, ID should find a total amount of 599,74GiB, 48814 online items and 269 offline items (= empty folders).

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #13  
Old 25.02.2021, 19:06
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

Quote:
Originally Posted by pspzockerscene View Post
Got it fixed!

Multiple bugs and strange API behavior of the GDrive API were coming together here! [...]
-psp-

You're awesome!!! Superb!!! Super waiting for this new update!!! =)



thanks a lot!! =)
Reply With Quote
  #14  
Old 25.02.2021, 19:07
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Updates have just been released

Keep in mind: You have to use the API to crawl such big folders!
Our website crawler will fail to crawl big GDrive folder/subfolder structures.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #15  
Old 26.02.2021, 01:54
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

Quote:
Originally Posted by pspzockerscene View Post
Updates have just been released

[...]

-psp-

hey pspzockerscene

Superb then!!! just a quick question, when this will be available? I just updated my Jd here, tried and no lucky... Still same behavior..

With api key - no valid account
With NO api key - only crawls 15 folders, no more than this

Steps I did

- updated Jd
- let it restart
- reset gdrive plugins configurations
- tried to crawl
- 15 folders found
- deleted previews API keys from my google console
- created a new API key
- inserted this new API key into the gdrive plugin
- no valid account found

is that right while the update doesn't hit the servers and so on?

Last edited by gatorade; 26.02.2021 at 01:56. Reason: missing steps
Reply With Quote
  #16  
Old 26.02.2021, 12:07
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Updates have already been released so it should work just fine:
1. Update JD.
2. Make sure the API-Key is added in the drive.google.com settings.
3. Add your URL.

If it doesn't work for you, please post a log.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #17  
Old 26.02.2021, 20:11
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

Quote:
Originally Posted by pspzockerscene View Post
Updates have already been released so it should work just fine:
1. Update JD.
2. Make sure the API-Key is added in the drive.google.com settings.
3. Add your URL.

If it doesn't work for you, please post a log.

-psp-
Hey pspzockerscene

here are the steps....
- updated Jd to the latest version
- closed it
- disabled the old gdrive account
- enabled my current gdrive account (unlimited one)
- added the API from this new account
- closed Jd (just in case)
- pasted the URL
- no valid account

26.02.21 16.04.48 <--> 26.02.21 16.05.18 jdlog://6636725302851/

without API key
- it does crawls 15 folders

26.02.21 16.04.48 <--> 26.02.21 16.11.18 jdlog://9636725302851/

What am I missing or doing wrong here?
Reply With Quote
  #18  
Old 27.02.2021, 01:05
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

hey pspzockerscene

got it what was wrong here on my end... Jd, for some unknown reason (at least, for me), can't understand to which account the API key belongs to... That's why it fails to crawl the links when I paste in it... removed both accounts, added only one, pasted the API key, from this recently gdrive account added, and voila!!! working flawlessly as you stated!!! 600gb of files to download!

You are great dude / dudete =)


thanks =)

Last edited by gatorade; 27.02.2021 at 22:31. Reason: grammar
Reply With Quote
  #19  
Old 01.03.2021, 15:13
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,235
Default

Thanks for your feedback!

The apikey does not belong to a specific account - it should work fine even with one or multiple active google Accounts!

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #20  
Old 04.03.2021, 04:11
gatorade gatorade is offline
JD Beta
 
Join Date: Dec 2017
Posts: 56
Default

Quote:
Originally Posted by pspzockerscene View Post
Thanks for your feedback!

The apikey does not belong to a specific account - it should work fine even with one or multiple active google Accounts!

-psp-
Well, after I removed all gdrive accounts, added only one and an API key from this account, everything worked flawlessly. I noticed Jd just got some updates... if you want, i can try it out again with this new version, if there is something related to this...

but superb anyway!!! thanks a lot for putting some good efforts and making Jd better every day =)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 07:01.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.