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

file ID [ ... ] is not shared, while the file is existing #10

Open
blotsome opened this issue Mar 18, 2020 · 8 comments
Open

file ID [ ... ] is not shared, while the file is existing #10

blotsome opened this issue Mar 18, 2020 · 8 comments

Comments

@blotsome
Copy link

Basically, goodls has stopped working for me over the past few months. I always get the same error file ID [ ... ] is not shared, while the file is existing (actual file ID redacted). These are typically large files in the couple GB range. I thought maybe it was a size limit, 24-hour lock out period, but it has been days and days since I've tried a download, and probably a month or two since it actually worked.

@farrej10
Copy link

farrej10 commented May 5, 2020

I have the same issue, cannot download a file thats 1 Gb

@tanaikech
Copy link
Owner

Unfortunately, I cannot replicate your situations. In my environment, I could confirm that a 4 GB file, which was publicly shared, could be downloaded. For example, when the file is downloaded by the partial download, what result will you get? Ref

@Paragoumba
Copy link

Same problem here with a 7GB+ file. The file is shared by someone else so I tried to copy it on my drive but it didn't help. I tried the following commands:

$ ./goodls_linux_amd64 -u 'https://drive.google.com/file/d/<fileId>/view?usp=sharing'
file ID [ <fileId> ] is not shared, while the file is existing

$ ./goodls_linux_amd64 -u 'https://drive.google.com/file/d/<fileId>/view'
file ID [ <fileId> ] is not shared, while the file is existing

$ export GOODLS_APIKEY=<apiKey>

$ ./goodls_linux_amd64 -u 'https://drive.google.com/file/d/<fileId>/view'
file ID [ <fileId> ] is not shared, while the file is existing

$ ./goodls_linux_amd64 -u 'https://drive.google.com/file/d/<fileId>/view' -i
googleapi: Error 403: The request did not specify any Android package name or
signing-certificate fingerprint. Please ensure that the client is sending them or
use the API Console to update your key restrictions., ipRefererBlocked

$ ./goodls_linux_amd64 -u 'https://drive.google.com/file/d/<fileId>/view' -key <apiKey> -i
googleapi: Error 403: The request did not specify any Android package name or
signing-certificate fingerprint. Please ensure that the client is sending them or
use the API Console to update your key restrictions., ipRefererBlocked

$ ./goodls_linux_amd64 -u 'https://drive.google.com/file/d/<fileId>/view' -key <apiKey> -r 100m
file ID [ <fileId> ] is not shared, while the file is existing

@tanaikech
Copy link
Owner

tanaikech commented May 7, 2020

Thank you for your comment. When the error message of file ID [ ### ] is not shared, while the file is existing occurs, goodls understands that the file is not shared. In this case, it indicates that goodls cannot download the file. I apologize for this. If I found the method for downloading such file, I would like to implement it.

For example, when you confirm such file using the method of Files: get in Drive API, what result will you get? In this case, please use * to the fields. Ref I thought that such result might become the point for investigating the reason of the issue.

@blotsome
Copy link
Author

blotsome commented May 8, 2020

Ah, using the GET method, I find this new error:

 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceededUnreg",
    "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
    "extendedHelp": "https://code.google.com/apis/console"
   }
  ],
  "code": 403,
  "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
 }
}

That would explain the issue. Would be nice if that error message was passed on (what is odd is that I can still download the file using the web interface just fine.

@Paragoumba
Copy link

I have the same message. I tried to download it with the web interface in a private window (so I'm not logged in) and I can download the file.

@inside83
Copy link

I have the same message. I tried to download it with the web interface in a private window (so I'm not logged in) and I can download the file.

Same here.
Video file is playable in private mode or in other browser where I'm not signed into my GDrive account but I keep getting file ID [ ### ] is not shared, while the file is existing even though I'm using the API.
Shouldn't using API bypass daily download limit?

@SalimF
Copy link

SalimF commented Jan 5, 2021

"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg"

Thank for the explain, can anyone explain how to make goodls use IPv6 instead IPv4 to bypass download limitation !

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

6 participants