Unable to download JSON metadata error on yt
See original GitHub issueChecklist
- I’m reporting a broken site support issue
- I’ve verified that I’m running youtube-dl version 2021.02.22 – youtube-dl is up-to-date (2021.02.22)
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar bug reports including closed ones
- I’ve read bugs section in FAQ
Verbose log
[debug] System config: []
[debug] User config: ['--download-archive', 'archive.txt', '-i', '-w', '-c', '--no-mtime', '--restrict-filenames', '--prefer-ffmpeg', '--min-sleep-interval', '2', '--max-sleep-interval', '20', '-o', '%(title)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['--download-archive', 'foodwishes.txt', '--verbose', '-i', '-q', '--no-warnings', '--restrict-filenames', '--add-metadata', '--min-sleep-interval', '1.5', '--max-sleep-interval', '7', '-o', '%(title)s.%(ext)s', 'https://www.youtube.com/user/foodwishes']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.22
[debug] Python version 3.8.3 (CPython) - Linux-4.18.0-240.10.1.el8_3.x86_64-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 632, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2275, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib64/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib64/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 632, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2275, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib64/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib64/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib64/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
Description
Simple download of a fav playlist from yt. It has been working for years and after updating to 02.22, it seems to have broken this morning.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:17 (4 by maintainers)
Top Results From Across the Web
[ARTE.tv] Unable to download JSON metadata #30919 - GitHub
I've found a very easy workaround for this arte.tv problem with their API. No need to do any updates, download new PY files,...
Read more >Help with error "Unable to download JSON metadata" - Reddit
I get this. Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>);. I try this yt-dlp ...
Read more >youtube-dl Unable to download JSON metadata: HTTP Error ...
Unable to download JSON metadata: HTTP Error 403: Forbidden. What is the problem ? I Used last version of Youtube-dl youtube-dl -u ...
Read more >Bug#816654: youtube-dl: SSL error with vimeo URLs
Package: youtube-dl. Version: 2016.02.22-1. When attempting to download from vimeo I am getting the following error:
Read more >problem with youtube-dl [closed] - Ask Ubuntu
I got the same error when trying to download the same Udemy video using the latest version of youtube-dl. – karel. Nov 5,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, sorry to comment on a closed issue, but I’m seeing a similar issue with recent updates (2021.03.02) as well:
verbose output
Then I tried setting
--default-search=ytsearch
as suggested and got a little further but still seeing the same error:If you add retries for the 404 in most causes it seems to eventually sort itself out, so I’m thinking this is probably server side.Wonder if this has any similarity to #28194… Edit: though right now there seems to be an influx in 404s, where I’m trying hundreds of retries while in the browser there’s no problem.