[Bug]: Upcoming video throws TypeError: Cannot read properties of undefined (reading 'player_response')
Guidelines
- [x] I have encountered this bug in the latest release of FreeTube.
- [x] I have encountered this bug in the official downloads of FreeTube.
- [x] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [x] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
Describe the bug
- Go to https://youtu.be/ari1XFUw73w
- Watch page takes a long time to load and eventually throws this error
Expected Behavior
User is able to see the watch page without encountering this error
Issue Labels
inconsistent behavior
FreeTube Version
https://github.com/FreeTubeApp/FreeTube/commit/7f56fa147b1501fafa98293b6828f3f50ba6c002
Operating System Version
Windows 11 IoT Enterprise LTSC 24H2
Installation Method
.exe
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
- [x] I have encountered this bug in the latest nightly build.
I was able to reproduce this issue.
System Info:
- OS: Windows 11
- FreeTube version:v0.23.3 Beta
- Installed via: yarn install
Steps I followed:
- Started FreeTube
2.Entered the YouTube link https://youtu.be/ari1XFUw73w into the search bar
3.The video did not load.
I saw the following errors:
Local API Error: TypeError: Cannot read properties of undefined (reading 'player_response')
Invidious API Error: SyntaxError: Unexpected token '<', "<!DOCTYPE..." is not valid JSON
recording:
https://github.com/user-attachments/assets/4389b134-6782-4798-8f09-92ee4fea6edb