question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTTP 404 error when getting video using GetVideoAsync()

See original GitHub issue

Enter Youtube video ID or URL: https://www.youtube.com/watch?v=cGbP2y7Obas Loading…

Unhandled Exception: System.Net.Http.HttpRequestException: Answer status codes do not indicate that the request was successful: 404 (Not Found). by System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode () by YoutubeExplode.Services.Extensions.d__0.MoveNext () --- End of track tracking from previous location where exception was taken --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () by System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task task) by System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult () at YoutubeExplode.YoutubeClient.d__34.MoveNext () --- End of track tracking from previous location where exception was taken --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () by System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task task) by System.Runtime.CompilerServices.TaskAwaiter1.GetResult () by DemoConsole.Program.d__2.MoveNext () --- End of track tracking from previous location where exception was taken --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () by System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task task) by System.Runtime.CompilerServices.TaskAwaiter.GetResult () by DemoConsole.Program.Main (String [] args)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:56 (29 by maintainers)

github_iconTop GitHub Comments

7reactions
Tyrrrzcommented, Nov 28, 2017

Here’s a package version that doesn’t query get_video_metadata for those that need a solution ASAP. Properly fixing this may take some time.

https://www.nuget.org/packages/YoutubeExplode/3.4.0-workaround404

3reactions
vinaykapadiacommented, Nov 28, 2017

Good luck with the fix, Tyrrrz. I’ll see if I can look into some solutions as well. Using the workaround for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am i receiving error 404 when fetching video data?
I'm trying to display the video which is in mp4 format of the code's folder. When i try to fetch the video by...
Read more >
Error 404: 4 Ways to Fix It
Error 404 is a response code, meaning the server could not locate the requested content. Check this article to learn 4 steps to...
Read more >
Help requested: "HTTP Error 404" on video that plays in my ...
the 404 is not from the URL you provide, but the extractor trying to reach some api to get the download links, but...
Read more >
"GET /" Error (404): "Not found"
I had worked on lab8 for a while but it was not completed. Now that I have gone back, when I run http-server...
Read more >
How to Fix Error 404 Not Found on Your Site
All you need to do is go to Settings → Permalinks and click Save Changes (you don't need to make any changes –...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found