This error

When running latest Moonlink.js, the bot joins and when tries to play music it gives an error: "TypeError: Cannot read properties of undefined (reading 'title')", when debugging I've found that bot receives this error from any node that I use, local and external. How do I fix it? (Moonlink's inbuilt debug didn't show anything out of ordinary)
No description
47 Replies
UnschooledGamer
UnschooledGamer2mo ago
You normally can't fix the error you debugged as it's by Lavalink when it fails to retrieve the tracks from The Respective Source. But the undefined properties error @1Lucas1.apk will need to be handled.
RadioPhox
RadioPhoxOP2mo ago
There is something wrong then. Because no matter which node I tried, no matter what youtube video I've tried none of them work. That's why I feel it something wrong with my setup/code
UnschooledGamer
UnschooledGamer2mo ago
The error from the Source is either due to rate-limits or some other errors while fetching them. You'll have to check the Lavalink Logs regarding that.
RadioPhox
RadioPhoxOP2mo ago
SO If I run Lavalink locally, this is what it shows: And I am not sure how is it getting error 429 as no songs were playing on this bot for at least a week or so and I am not sure that other people's Lavalink servers are receiving same error
UnschooledGamer
UnschooledGamer2mo ago
Sources ban the IP, Like yt bans IP or if there's too requests from a ISP or ASN they ban the whole IP BLOCK.
1Lucas1.apk
1Lucas1.apk2mo ago
This error is made by the structure of Searchresult Just identify loadtype == Error
RadioPhox
RadioPhoxOP2mo ago
I did that That's how I've found about this error in the first place, as I have my bot to DM me errors when it encounters them I still don't get it how my bot can't play music while other people bots can, while using even the same node or does the Lavalink server pass my IP or MAC or something to get me banned?
UnschooledGamer
UnschooledGamer2mo ago
If it's the same Node then other bots will have the same issues if they connect/search on the same Node.
RadioPhox
RadioPhoxOP2mo ago
But they don't have the same problem, that's why I think it's on my side Me and my friend use the same node, although his bot is written in Python with different lavalink client
MEE6
MEE62mo ago
GG @RadioPhox, you just advanced to level 2!
1Lucas1.apk
1Lucas1.apk2mo ago
What is the playlist link?
UnschooledGamer
UnschooledGamer2mo ago
You should. Unless it's a video specific or country specific.
1Lucas1.apk
1Lucas1.apk2mo ago
Is it just with this link or any kind of youtube link that is causing this error?
RadioPhox
RadioPhoxOP2mo ago
it's not a playlist, it's a video and no matter which one is submitted they all show the same error, here are the most recent two: https://www.youtube.com/watch?v=8hfQ5uIKrlw https://www.youtube.com/watch?v=E7oMBq1vkCM
V2RecordsNYC
YouTube
Moby - Bodyrock (The Official Video)
Moby's "Bodyrock" from Play on V2 Records Join our Bodyrock Audtions group: http://www.youtube.com/group/bodyrockcontest Submit your own audition, the best clip wins an Epiphone G310 (The same model Moby uses) courtesy of Gibson & V2 Records
WWEMusic
YouTube
Bobby Roode - Glorious Domination (Entrance Theme)
Bobby Roode - Glorious Domination (Entrance Theme) Buy on iTunes: https://apple.co/2jaj2Uu Listen on Spotify: https://spoti.fi/2EUfE8H Listen on Apple Music: https://apple.co/2ZnP2Y8 Follow WWE Music http://wwe.com/inside/WWEMusic http://twitter.com/WWEMusic http://facebook.com/WWEMusicGroup Lyrics Glorious No, I won't give in I won't give in...
RadioPhox
RadioPhoxOP2mo ago
Any kind of youtube link
1Lucas1.apk
1Lucas1.apk2mo ago
No description
1Lucas1.apk
1Lucas1.apk2mo ago
video not available
RadioPhox
RadioPhoxOP2mo ago
Both of them?
1Lucas1.apk
1Lucas1.apk2mo ago
No description
1Lucas1.apk
1Lucas1.apk2mo ago
Evaluated Embed Link must have been my translator
UnschooledGamer
UnschooledGamer2mo ago
You guys should finish with this now. As Main topic is done. Move to #talk
1Lucas1.apk
1Lucas1.apk2mo ago
If you move the conversations of the resolution, this does not go to the internet
UnschooledGamer
UnschooledGamer2mo ago
Oh lol But the main problem is already solved. This load type error issue is subjective could occur any time.
1Lucas1.apk
1Lucas1.apk2mo ago
But from what he reported, he and his friend are even using same knot, and he's not really having a problem
UnschooledGamer
UnschooledGamer2mo ago
Cannot know unless we have the logs for both tries each time.
RadioPhox
RadioPhoxOP2mo ago
I cannot access the logs of another person's lavalink server (I am trying to get into contact with them) But, here is a small experiment we did: We both waited around 15 minutes and then I tried to play a song, my bot errored out with the error above, my friend meanwhile waited for 2 seconds and requested his bot to play music on the same node and it just played music
UnschooledGamer
UnschooledGamer2mo ago
@1Lucas1.apk how about enabling the trace url param? It might return the error trace from Lavalink.
1Lucas1.apk
1Lucas1.apk2mo ago
I don't know for sure I'll look at the codes to see if it can work with screening I'll end up put it on the moonlink logs too
UnschooledGamer
UnschooledGamer2mo ago
No it won't work it's just for error response from Lavalink API itself.
1Lucas1.apk
1Lucas1.apk2mo ago
sad of his question which client Lavalink package he is using
RadioPhox
RadioPhoxOP2mo ago
WaveLink?
UnschooledGamer
UnschooledGamer2mo ago
Wait a sec Its a video search or Playlist Ah
RadioPhox
RadioPhoxOP2mo ago
It's a video
UnschooledGamer
UnschooledGamer2mo ago
No description
UnschooledGamer
UnschooledGamer2mo ago
What's this
RadioPhox
RadioPhoxOP2mo ago
I saw that, yes, it's from "liked" list I then removed it and tried it without it As well as the other videos
UnschooledGamer
UnschooledGamer2mo ago
I'm not sure if a list named LL even exists.
RadioPhox
RadioPhoxOP2mo ago
I can show it right now
UnschooledGamer
UnschooledGamer2mo ago
Nvm. Weird issue.
RadioPhox
RadioPhoxOP2mo ago
if you click on your "liked" it will show this
No description
UnschooledGamer
UnschooledGamer2mo ago
Yt must have had changes in list naming ig.
1Lucas1.apk
1Lucas1.apk2mo ago
I can't replicate the same mistake
1Lucas1.apk
1Lucas1.apk2mo ago
No description
1Lucas1.apk
1Lucas1.apk2mo ago
true
RadioPhox
RadioPhoxOP2mo ago
I tried other song that worked before, and Lavalink logs say "Unknown file format" now https://www.youtube.com/watch?v=bBsKplb2E6Q
bachkwt
YouTube
Prokofiev - Dance of the Knights
Prokofiev: Romeo and Juliet, No 13 Dance of the Knights Sergei Sergeyevich Prokofiev (Russian: Серге́й Серге́евич Проко́фьев, tr. Sergej Sergeevič Prokof'ev)[1][2] (27 April [O.S. 15 April] 1891 -- 5 March 1953)[3] was a Russian composer, pianist[4][5] and conductor who mastered numerous musical genres and is generally regarded as one of the ma...
RadioPhox
RadioPhoxOP2mo ago
None of the videos I've tried work, like all of them just disconnect the bot with the same error "TypeError: Cannot read properties of undefined (reading 'title')" When I request a playlist to play it shows this error: "TypeError: Cannot read properties of undefined (reading 'info')" I got the logs from the node owner It the same error with "Uknown file format"
RadioPhox
RadioPhoxOP2mo ago
No description

Did you find this page helpful?