evobot: Known issue: 404 Not found.

If you seen Error: 404 Not found in your console, this is not an error!

This is a problem with ytdl-core or YouTube API. This error will occur in these case:

  • Video not found
  • Play an ended live stream (New)

There is no solutions at this moment, please don’t open issue like this.

Update: ytdl-core already fixed this bug, just install ytdl-core master branch, this patch is not pushed to npm yet.

Another update: There is a method to fix this issue, please see https://github.com/eritislami/evobot/issues/774#issuecomment-866863134

Feel free to commit on this issue if you have any solution.

Also see:

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 39 (12 by maintainers)

Most upvoted comments

@wolf-yuan-6115 https://github.com/eritislami/evobot/blob/3134356265b6170dd8a0bb55a01bd0de0e377d25/commands/play.js#L86

https://github.com/eritislami/evobot/blob/3134356265b6170dd8a0bb55a01bd0de0e377d25/commands/play.js#L117

If you modify the above two lines as follows, you can see that it returns normally. This method is temporary and subject to change during the official release.

duration: songInfo.player_response.videoDetails.lengthSeconds

Oof, thanks you!

@wolf-yuan-6115 https://github.com/eritislami/evobot/blob/3134356265b6170dd8a0bb55a01bd0de0e377d25/commands/play.js#L86 https://github.com/eritislami/evobot/blob/3134356265b6170dd8a0bb55a01bd0de0e377d25/commands/play.js#L117

If you modify the above two lines as follows, you can see that it returns normally. This method is temporary and subject to change during the official release.

duration: songInfo.player_response.videoDetails.lengthSeconds