invidious
invidious copied to clipboard
[Bug] Missing JSON element "videoPrimaryInfoRenderer" (BrokenTubeException)
Describe the bug
Playback of video fails with error message: Missing JSON element "videoPrimaryInfoRenderer" (BrokenTubeException)
Steps to Reproduce
- Tried to watch this video: https://www.youtube.com/watch?v=sJjODY-PyJY
- The following error is shown: Missing JSON element "videoPrimaryInfoRenderer" (BrokenTubeException)
Logs
Title: `Missing JSON element "videoPrimaryInfoRenderer" (BrokenTubeException)`
Date: `2025-06-30T17:45:17Z`
Route: `/watch?v=sJjODY-PyJY`
Version: `2025.05.17-f07859e @ (HEAD detached at v2.20250517.0)`
<details>
<summary>Backtrace</summary>
<p>
Missing JSON element "videoPrimaryInfoRenderer" (BrokenTubeException)
from /usr/share/crystal/src/json/parser.cr:117:5 in 'parse_video_info'
from src/invidious/videos/parser.cr:108:12 in 'extract_video_info'
from src/invidious/videos.cr:327:10 in 'fetch_video'
from src/invidious/videos.cr:315:13 in 'get_video:region'
from src/invidious/routes/watch.cr:55:15 in 'handle'
from lib/kemal/src/kemal/route.cr:13:9 in '->'
from src/invidious/helpers/handlers.cr:31:37 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
from src/invidious/helpers/handlers.cr:95:12 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'
from src/ext/kemal_static_file_handler.cr:106:14 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'handle_client'
from /usr/share/crystal/src/fiber.cr:143:11 in 'run'
from ???
</p>
</details>
Additional context Searched for previous bugs with same error, found one (https://github.com/iv-org/invidious/issues/5318) but it was closed because the video was deleted by the uploader. This is not the case here, the video is watchable on YouTube.
Are they coming back to fix the instances?