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

[Bug]: VideoUnavailableException even though the video is available on youtube #323

Open
5 tasks done
spiderion opened this issue Dec 30, 2024 · 5 comments
Open
5 tasks done
Labels
bug Something isn't working

Comments

@spiderion
Copy link

What happened?

VideoUnavailableException: Video 'YQHsXMglC9A' is unavailable
In most cases, this error indicates that the video doesn't exist, is private, or has been taken down.
If you can however open this video in your browser in incognito mode, it most likely means that YouTube changed something, which broke this library.
Please report this issue on GitHub in that case.

Stacktrace / error logs.

VideoUnavailableException: Video 'YQHsXMglC9A' is unavailable
In most cases, this error indicates that the video doesn't exist, is private, or has been taken down.
If you can however open this video in your browser in incognito mode, it most likely means that YouTube changed something, which broke this library.
Please report this issue on GitHub in that case.

Package (youtube_explode_dart) version

2.3.6

Checklist

  • I have provided a descriptive title
  • I have searched the issues of this repository and believe that this is not a duplicate
  • I have tested with the latest version of the library
  • (If relevant) I can open the video/playlist in a incognito/private window without being logged in.
  • I have sponsored the project

Additional notes

No response

@spiderion spiderion added the bug Something isn't working label Dec 30, 2024
@emreozdemir9
Copy link

Same problem, when 5-10 min later giving this error. Can anyone help us?

@Purehi
Copy link

Purehi commented Jan 3, 2025

same issue

@anandssm
Copy link

i get this error if when i use mobile data.

@raulmabe-labhouse
Copy link

raulmabe-labhouse commented Jan 24, 2025

We have the same issue.

For me it works well when I am on Wifi, but throws exception when I am on mobile data.
However, for a coworker, it works well on mobile data and throws exception on Wifi 😕

We noticed this video is a live that turned into a video 5 hours ago... so this may be the issue

Video 'an-ogV9u0kw' is unavailable
In most cases, this error indicates that the video doesn't exist, is private, or has been taken down.
If you can however open this video in your browser in incognito mode, it most likely means that YouTube changed something, which broke this 
Please report this issue on GitHub in that case.)

@Hexer10
Copy link
Owner

Hexer10 commented Jan 25, 2025

I'm not able to reproduce this issues, often youtube implements some features only in certain geographical areas, try to enable verbose logging and send the output here.

// Before any YoutubeExplode code
Logger.root.level = Level.FINER;
Logger.root.onRecord.listen((e)  {
  print(e);
  if (e.error != null) {
   print(e.error);
   print(e.stackTrace);
  }
});

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

6 participants