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)
47 Replies
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.
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
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.
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
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.
This error is made by the structure of Searchresult
Just identify loadtype == Error
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?
If it's the same Node then other bots will have the same issues if they connect/search on the same Node.
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
GG @RadioPhox, you just advanced to level 2!
What is the playlist link?
You should. Unless it's a video specific or country specific.
Is it just with this link or any kind of youtube link that is causing this error?
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...
Any kind of youtube link

video not available
Both of them?

Evaluated Embed Link
must have been my translator
You guys should finish with this now. As Main topic is done. Move to #talk
If you move the conversations of the resolution, this does not go to the internet
Oh lol
But the main problem is already solved. This load type error issue is subjective could occur any time.
But from what he reported, he and his friend are even using
same knot, and he's not really having a problem
Cannot know unless we have the logs for both tries each time.
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
@1Lucas1.apk how about enabling the trace url param? It might return the error trace from Lavalink.
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
No it won't work it's just for error response from Lavalink API itself.
sad
of his question which client Lavalink package he is using
WaveLink?
Wait a sec
Its a video search or Playlist
Ah
It's a video

What's this
I saw that, yes, it's from "liked" list
I then removed it and tried it without it
As well as the other videos
I'm not sure if a list named LL even exists.
I can show it right now
Nvm.
Weird issue.
if you click on your "liked" it will show this

Yt must have had changes in list naming ig.
I can't replicate the same mistake

true
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...
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"
