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

Response status code does not indicate success: 400 (Bad Request) #586

Open
6 tasks done
lolminerxmrig01 opened this issue Jan 12, 2025 · 2 comments
Open
6 tasks done
Labels
bug Something isn't working

Comments

@lolminerxmrig01
Copy link

Version

10.0

Platform

win 11

Steps to reproduce

System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at YoutubeExplode.Videos.VideoController.GetPlayerResponseAsync(VideoId videoId, CancellationToken cancellationToken) in //YoutubeExplode/Videos/VideoController.cs:line 97
at YoutubeExplode.Videos.Streams.StreamClient.GetStreamInfosAsync(VideoId videoId, CancellationToken cancellationToken) in /
/YoutubeExplode/Videos/Streams/StreamClient.cs:line 270
at YoutubeExplode.Videos.Streams.StreamClient.GetManifestAsync(VideoId videoId, CancellationToken cancellationToken) in /_/YoutubeExplode/Videos/Streams/StreamClient.cs:line 304
at YoutubeDownloader.Core.Downloading.VideoDownloader.GetDownloadOptionsAsync(VideoId videoId, Boolean includeLanguageSpecificAudioStreams, CancellationToken cancellationToken) in D:\a\YoutubeDownloader\YoutubeDownloader\YoutubeDownloader.Core\Downloading\VideoDownloader.cs:line 26
at YoutubeDownloader.Core.Downloading.VideoDownloader.GetBestDownloadOptionAsync(VideoId videoId, VideoDownloadPreference preference, Boolean includeLanguageSpecificAudioStreams, CancellationToken cancellationToken) in D:\a\YoutubeDownloader\YoutubeDownloader\YoutubeDownloader.Core\Downloading\VideoDownloader.cs:line 37
at YoutubeDownloader.ViewModels.Components.DashboardViewModel.EnqueueDownload(DownloadViewModel download, Int32 position)

Details

System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at YoutubeExplode.Videos.VideoController.GetPlayerResponseAsync(VideoId videoId, CancellationToken cancellationToken) in //YoutubeExplode/Videos/VideoController.cs:line 97
at YoutubeExplode.Videos.Streams.StreamClient.GetStreamInfosAsync(VideoId videoId, CancellationToken cancellationToken) in /
/YoutubeExplode/Videos/Streams/StreamClient.cs:line 270
at YoutubeExplode.Videos.Streams.StreamClient.GetManifestAsync(VideoId videoId, CancellationToken cancellationToken) in /_/YoutubeExplode/Videos/Streams/StreamClient.cs:line 304
at YoutubeDownloader.Core.Downloading.VideoDownloader.GetDownloadOptionsAsync(VideoId videoId, Boolean includeLanguageSpecificAudioStreams, CancellationToken cancellationToken) in D:\a\YoutubeDownloader\YoutubeDownloader\YoutubeDownloader.Core\Downloading\VideoDownloader.cs:line 26
at YoutubeDownloader.Core.Downloading.VideoDownloader.GetBestDownloadOptionAsync(VideoId videoId, VideoDownloadPreference preference, Boolean includeLanguageSpecificAudioStreams, CancellationToken cancellationToken) in D:\a\YoutubeDownloader\YoutubeDownloader\YoutubeDownloader.Core\Downloading\VideoDownloader.cs:line 37
at YoutubeDownloader.ViewModels.Components.DashboardViewModel.EnqueueDownload(DownloadViewModel download, Int32 position)

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the application
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project
  • I have not read any of the above and just checked all the boxes to submit the issue
@lolminerxmrig01 lolminerxmrig01 added the bug Something isn't working label Jan 12, 2025
@viaujoc
Copy link

viaujoc commented Jan 13, 2025

I have the same issue. Thank you for reporting it.

@FabLeKebab
Copy link

Me too. Thank you for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants