Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
YouTube said: Invalid parameters. (instead of specific error message) #15284
Comments
|
I also reproduce this problem as starting sometime in early January (i.e., with all relevant scripts, code, binary versions, and procedures unchanged on my side). I'm guessing #15246 is related. |
|
Fixed! Thanks for the examples. |
|
I've got the exact problem. I've got two servers one in Germany and one in France when I try from server from Germany it is totally fine and the result is OK. But when I try from France server I get the error: "YouTube said: Invalid parameters" When I checked the video via browser I found out that the video was available in Germany but not in france. So maybe you have my problem on your videos! |
|
@HiradNikoo: are you using version 2018.01.27? That version improves error messages. |
|
Could be, i didn't try to confirm, but that youtube limits the IPs from data centers. For a quite some time, google, netflix, and other big services added that as the decision making info for providing services. That's why you can't get cheap VPS and make your proxy for netflix any more. |
|
I'm getting this right now for a video that is geoblocked, but not in my country, where my request is coming from. |
|
Im getting this error anytime i try no matter wich link or id im using. Please help |
|
@yan12125 , I also have the same issue with any link and id. Could you please help with that? |
|
Update your youtube-dl... |
|
I picked a random video (EXaLvBGqQww) and downloading works fine with version 2020.07.28. Most likely recent issues (if any) are different from those in 2018. Please make sure you are using the latest version and create a new issue if needed. Locked this one as the original issue from 2018 have been solved for a long time. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.01.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
For a few days now, videos that have been removed, blocked, unavailable in current country etc. yield the generic error "Invalid parameters" instead of the actual message you'd see in a browser, like before.
My workflow depends on knowing why accessing a video failed. I used "youtube-dl --skip-download ..." for this.
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Description of your issue, suggested solution and other information
This seems to happen since around Jan 4 according to logs.
Examples:
XR4YH1N04pc (This video contains content from UMG, who has blocked it in your country on copyright grounds.)
NbhXmSBlS_U (This video contains content from Formula One Management, who has blocked it on copyright grounds.)
7HpZjCe9LQY (This video is unavailable.)
xPFZl59_OZ4 (This video is no longer available because the YouTube account associated with this video has been terminated.)
n_7t_vO3vlU ("Gamma Ray - Beyo..." The YouTube account associated with this video has been terminated due to multiple third-party notifications of copyright infringement.)
The all just yield "Invalid parameters".
The website itself also behaves slightly different from before, I cannot get it to tell me that a video does not exist by passing random or invalid video ids, I only get the "unavailable" message, so that would at least explain why youtube-dl doesn't report non-existent videos anymore, but the rest should still be possible to detect.