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.

No Playability Status Block - Loading Information for a YouTube Track Failed

See original GitHub issue

I’m seeing a completely different JSON error than everybody else, apparently. For some reason it looks like it’s failing to find the playabilityStatus block but, as far as I can tell from looking at the JSON, it’s there. This does not get fixed by merging #687.

[JDA MainWS-ReadThread] INFO net.dv8tion.jda.internal.requests.WebSocketClient - Connected to WebSocket
[JDA MainWS-ReadThread] INFO net.dv8tion.jda.api.JDA - Finished Loading!
[lava-daemon-pool-info-loader-2-thread-1] WARN com.sedmelluq.discord.lavaplayer.tools.ExceptionTools - Error when extracting data EID: 1460bda8-9a85-4d7c-8c3e-d3aa6956d17c, mainJson: (Too long for github comment)
[lava-daemon-pool-info-loader-2-thread-1] ERROR com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager - Error in loading item https://www.youtube.com/watch?v=0_04Z-7kZ9E
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Loading information for a YouTube track failed.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:220)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:232)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.track(YoutubeAudioSourceManager.java:228)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromUrlWithVideoId(DefaultYoutubeLinkRouter.java:99)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromMainDomain(DefaultYoutubeLinkRouter.java:64)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:42)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:196)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:131)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:436)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:418)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:217)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.executeQueue(OrderedExecutor.java:98)
	at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.run(OrderedExecutor.java:87)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
	Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation: 
  lavaplayer.version: 1.3.78
  os.arch: amd64
  os.name: Linux
  os.version: 5.16.14-1-MANJARO
  java.vendor: N/A
  java.version: 17.0.3
  java.runtime.version: 17.0.3+3
  java.vm.version: 17.0.3+3
Caused by: java.lang.RuntimeException: Error when extracting data EID: 1460bda8-9a85-4d7c-8c3e-d3aa6956d17c, mainJson <redacted>
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.throwWithDebugInfo(ExceptionTools.java:134)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:62)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:37)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadTrackWithVideoId(YoutubeAudioSourceManager.java:208)
	... 16 more
Caused by: java.lang.RuntimeException: No playability status block.
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.checkPlayabilityStatus(DefaultYoutubeTrackDetailsLoader.java:96)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadBaseResponse(DefaultYoutubeTrackDetailsLoader.java:73)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:51)
	... 18 more

response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
idpromnutcommented, Apr 6, 2022

I can have a look at it later tonight; it is probably something similar in nature to #687.

0reactions
dolanbernardcommented, Apr 7, 2022

Update: I was able to fix the issue by just removing the jitpack repository from my pom.xml. I don’t know why, but that’s it. I noticed that changes I made to my local repository version of lavaplayer weren’t having any effect after publishing. This was frustrating because within my IDE, I could view the lavaplayer source and see my changes there.

So the version I could see in the IDE by following links in stack traces and Ctrl+Clicking would have my new code, but this isn’t actually the code that was being run for some reason. I figured this out when I noticed that the version in my error messages was 1.3.78. In the version I published locally I had set version to 1.4.0. 1.4.0 was the version I selected in my pom.xml. Somehow though, just because I still had the jitpack repo in my pom.xml it was using the wrong version but not even my IDE was aware of that. I still have no idea what code WAS running in lavaplayer, so I don’t even know what the error was or why it was different from the message other people were getting.

This was a weird one. I’m gonna close this issue now, but if anybody does run into the same problem I can take a look at it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot YouTube error messages - Android - Google Help
When YouTube can't complete the action you've taken, an error message may surface on your device. There are many root causes of error...
Read more >
20 most common video errors & how to fix them
This article guide you how to fix all 20 problems or errors while playing videos like playback errors, audio video sync, issues, choppy, ......
Read more >
The 5 most common errors when embedding videos - Mynd
1. Delete your browser data. It is possible that the problem is not the link, but simply your browser. Check whether the video...
Read more >
YouTubePlayer.ErrorReason | YouTube Android Player API
An error occurred due to a network request failing. YouTubePlayer.ErrorReason.NOT_PLAYABLE, The current video could not be loaded because it is ...
Read more >
How To Fix YouTube Not Working on Fire TV Stick [2022]
Method # 4 – Force Stop, Clear Data, or Clear Cache of the YouTube App · Force Stop – Stops the app completely...
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