Skip to content
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

Crash when YouTube video ID doesn't exist: YouTubeDataAPIError: getting the video title failed #1128

Open
sentry-io bot opened this issue Jul 27, 2023 · 0 comments
Labels

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 27, 2023

Sentry Issue: LMS-VIA-59

IndexError: list index out of range
  File "via/services/youtube.py", line 66, in get_video_title
    return self._http_service.get(

YouTubeDataAPIError: getting the video title failed
(7 additional frame(s) were not displayed)
...
  File "via/views/view_video.py", line 25, in youtube
    video_title = youtube_service.get_video_title(video_id)
  File "via/services/youtube.py", line 76, in get_video_title
    raise YouTubeDataAPIError("getting the video title failed") from exc
@seanh seanh added the Backend label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant