-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] /api/v1/videos/:id returns 200 with no content, throws exception in logs #5161
Comments
Also experiencing this exact issue after switching from the latest to the master branch |
The cause seems to be 164d764#diff-44ad5a0fea31152bcad7d3a779935ca234c0a4f657772d835b27b3a084e61b90R271 "published" on a related video can be a valid date or an empty string, but it tries to parse it as long as it's not nil. I assume this is leading it to parse an empty string, and thus fail. |
There are two issues i believe, one is the recommended videos "published" is a formatted date instead of a timestamp but also some videos return empty content Edit: Updated server ( 2025.01.26-00ee3814 @ master)
Outdated server ( 2024.11.10-5d2dd40 @ (HEAD detached at v2.20241110.0) ) :
|
Yeah the empty content is due to this issue, and my PR fixes that.
If the format of the related videos "published" field isn't what is expected/intended then that sounds like a separate problem? It appears to be specifically implemented to return a formatted date, so I assumed it was intentional. |
Describe the bug
The invidious plugin for Kodi stopped working for me, after investigating it looks like one of the API endpoints is no longer functional, at least for some videos.
Steps to Reproduce
Steps to reproduce the behavior:
/api/v1/videos/wIp8vQxDS-M
Logs
Client:
Server:
Screenshots
Additional context
Invidious running on
quay.io/invidious/invidious:2025.01.22-164d764
The text was updated successfully, but these errors were encountered: