[Bug]: Local API Error: `[object Object]`
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.
- [x] I have read and agree to follow the rules.
Describe the bug
Errors on Local and Invidius APIs every time I try to play any videos.
Local API error: object Object
Invidius API error: SyntaxError: Unexpected Token
Expected Behavior
Play the video.
Issue Labels
API issue
FreeTube Version
0.23,13
Operating System Version
Arch Linux
Installation Method
.AppImage
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
0.23.13
Additional Information
No response
Nightly Build
- [ ] I have encountered this bug in the latest nightly build.
Downloading with yt-dlp still works. Maybe as a secondary fallback, freetube can download the video and play it using that?
Thankyou for making us aware of this issue.
All videos are currently failing and return the Local API error [object Object]
Our team is actively investigating and will provide updates as they become available.
Update: The issue seems to be a bit more complex like other times which means it will probably take a bit more time to properly solve this. Therefore we are adding the workaround so our users can keep watching videos. This workaround can break at any point of time.
There will be a hotfix release provided ASAP
v0.23.14 has been released! You can download the latest version using the following methods:
Thank you for being patient and happy watching 📺!
[!NOTE] Flatpak builds will be in Flathub as soon as they can.
You got to love this team. thanks for the fix.
Absolute heroes. Thanks!
You are the BEST. My wife asks if we can buy you guys a coffee?
@l0l08844
Feel free to make an one time donation or monthly to our team members
- https://github.com/sponsors/absidue
- https://github.com/sponsors/PikachuEXE
Feel free to make an one time donation or monthly to our team members
* https://github.com/sponsors/absidue * https://github.com/sponsors/PikachuEXE
I did one-time donation to both. Thank you for your work!
you are amazing, thank you
Holy shit, you are awesome! I'm gonna update right now!
It's great to see all the appreciation, and we really do value the support. However, let's keep this issue focused on the specific error being discussed.
As noted in the release notes: "This workaround is just a temporary fix and could stop working at any point in time." That’s why this issue is still open.
If you'd like to leave appreciative comments, please do so here: https://github.com/FreeTubeApp/FreeTube/discussions/8740 :)
To keep this issue organized and focused, appreciative comments will be marked as off-topic within 24 hours (including this one).
I'm a bit late to the party, but I have just updated to 23.14 Beta, and I am unable to play any videos:
If I click to copy this is what I get:
[object Object]
SyntaxError: Unexpected token 'E', "Endpoint disabled" is not valid JSON
Look like youtube using xor bitwise obfuscator. Did you find any solution to decrypt n and sig params? I can find the n decrypt function but need runtime env to know what params are
On my side is working well Fedora 43 Gnome edition, rpm install
On my side is working well Fedora 43 Gnome edition, rpm install
the hardcode player will be inactived soon. Hardcode playerId is just a temporary workaround.
I'm a bit late to the party, but I have just updated to 23.14 Beta, and I am unable to play any videos:
If I click to copy this is what I get:
[object Object]
SyntaxError: Unexpected token 'E', "Endpoint disabled" is not valid JSON
Same problem here with Windows 10
@kevinscottuk Could you please upload a screenrecording? Please show the following:
- The about page to confirm the version you are on
- Watch the page with the error related to this issue
I am having the same problem; I think the .deb for Ubuntu/Debian x64 is somehow mixed up, since after updating it continues displaying v0.23.13 Beta in the about tab instead of .14. Using the appimage I had no such problem.
Edit: Might be a problem with some configuration in apt, since @Milburne did not reproduce it. I'll try to see if I can fix it. Edit 2: Disregard, was a mixup with flatpak.
Just to add some information, no issues seem to be happening on Windows 10. So there probably is some sort of issue on Linux
