FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

[Bug]: Upcoming video throws TypeError: Cannot read properties of undefined (reading 'player_response')

Open efb4f5ff-1298-471a-8973-3d47447115dc opened this issue 1 year ago • 1 comments

Guidelines

Describe the bug

  1. Go to https://youtu.be/ari1XFUw73w
  2. Watch page takes a long time to load and eventually throws this error

Image

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

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:

  1. 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

mahdrebai avatar Apr 17 '25 19:04 mahdrebai