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.

HttpRequestException: 'Response status code does not indicate success: 403 (Forbidden).'

See original GitHub issue

Getting a 403 error on many videos when attempting to download any of the media streams. For example: https://www.youtube.com/watch?v=QkF3oxziUI4

System.Net.Http.HttpRequestException HResult=0x80131500 Message=Response status code does not indicate success: 403 (Forbidden). Source=System.Net.Http StackTrace: at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at YoutubeExplode.Internal.HttpClientEx.<GetStreamAsync>d__4.MoveNext() in \repos\YoutubeExplode-master\YoutubeExplode\Internal\HttpClientEx.cs:line 60 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at YoutubeExplode.Internal.SegmentedHttpStream.<ReadAsync>d__19.MoveNext() in \repos\YoutubeExplode-master\YoutubeExplode\Internal\SegmentedHttpStream.cs:line 65 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at YoutubeExplode.Internal.Extensions.<CopyToAsync>d__18.MoveNext() in \repos\YoutubeExplode-master\YoutubeExplode\Internal\Extensions.cs:line 155 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at YoutubeExplode.YoutubeClient.<DownloadMediaStreamAsync>d__14.MoveNext() in \repos\YoutubeExplode-master\YoutubeExplode\YoutubeClient.MediaStream.cs:line 36 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at YoutubeExplode.YoutubeClient.<DownloadMediaStreamAsync>d__15.MoveNext() in \repos\YoutubeExplode-master\YoutubeExplode\YoutubeClient.MediaStream.cs:line 46 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at YoutubeExplode.DemoWpf.ViewModels.MainViewModel.<DownloadMediaStream>d__49.MoveNext() in \repos\YoutubeExplode-master\YoutubeExplode.DemoWpf\ViewModels\MainViewModel.cs:line 196

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Tyrrrzcommented, Mar 10, 2020

Pushed a new version

1reaction
eggeggsscommented, Mar 10, 2020

I hope it ’s not Google ’s new policy

Read more comments on GitHub >

github_iconTop Results From Across the Web

403 Forbidden Error: What It Is and How to Fix It
The 403 Forbidden Error is an HTTP response status code that indicates an identified client does not have proper authorization to access the...
Read more >
parsing from website which return 403 forbidden
Response status code does not indicate success : 403 (Forbidden). Res. this is a picture to describe more the error please can you...
Read more >
Response status code does not indicate success: 403 ...
Exception Details: System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden). Source Error:.
Read more >
Response status code does not indicate suffess 403 ...
This error message indicates that the creation of a connector for your Azure AD tenant has failed. This can occur due to a...
Read more >
Response status code does not indicate success: 403
Issue starts appearing on Azure pipeline during SonarCloudPrepare step. we get error: Failed to request and parse 'https://sonarcloud.io/api/ ...
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