invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[Bug] Large youtube playlists return status code 500 from Youtube API

Open Fijxu opened this issue 7 months ago • 3 comments

Describe the bug

Title.

Example playlist:

  • https://inv.nadeko.net/playlist?list=PL3w4hMzX14eqVwGYkAx6R0ui_pMrF4QaD
  • https://yewtu.be/playlist?list=PL3w4hMzX14eqVwGYkAx6R0ui_pMrF4QaD

Youtube link: https://www.youtube.com/playlist?list=PL3w4hMzX14eqVwGYkAx6R0ui_pMrF4QaD

Steps to Reproduce

  1. Search any youtube playlist with more than 100 videos
  2. Error!

Logs

2025-05-22 18:56:21 UTC [warn] i18n: Missing translation key "Error: non 200 status code. Youtube API returned status code 500. See <a href="https://docs.invidious.io/youtube-errors-explained/"> https://docs.invidious.io/youtube-errors-explained/</a> for troubleshooting."

Screenshots

Image

Additional context

Reported by some users of https://inv.nadeko.net

Fijxu avatar May 22 '25 19:05 Fijxu

It appears we may need to update the client ClientType::Web["version"] on the HARDCODED_CLIENTS from 2.20240814.00.00 to 2.20250222.10.00.

Image

Fijxu avatar May 22 '25 19:05 Fijxu

The bug is persistent on yewtube

TenebrisD90 avatar Jun 07 '25 13:06 TenebrisD90

Update: Seems that it fixed by itself for now at the time of this comment. Playlists with more than ~100 videos now work fine. #5325 may prevent this from happening again

Fijxu avatar Jun 11 '25 21:06 Fijxu

Now for me, it's happening in the playlists sections in general.

Error: non 200 status code. Youtube API returned status code 500. See https://docs.invidious.io/youtube-errors-explained/ for troubleshooting.

For context, the only change my instance has is custom CSS via volumes. Otherwise it's the latest version of master.

gigirassy avatar Jul 23 '25 17:07 gigirassy