#LyricsManager.loadLyrics Error 400

1 messages · Page 1 of 1 (latest)

sharp yoke
#

how is it wrong endpoint?
GET /v4/lyrics?track=QAACBwMADF....

solid oasis
#

GET /v4/sessions/{sessionId}/players/{guildId}/track/lyrics?skipTrackSource={skipTrackSource}

#

Is correct

sharp yoke
#

thats for current playing track

#

but i am using a dedicated node to search for lyrics

#

and there i use the

solid oasis
#

Ah okay

#

Never mind, don't get caught up in my words above.

#

This error is of Spotify Track?

sharp yoke
#

Okay

but i tried with the actual "main" node I am using and still 400 error

#

yes

solid oasis
#

Use custom endpoint

sharp yoke
#

and I use customTokenEndpoint

solid oasis
#

Hmm

sharp yoke
#

preferAnonymousToken: true

#

same for sprec:
doesnt work for me either

solid oasis
#

If you want to give me the full request from the logs, I will test it myself

#

I'm on my phone and it's going to be hard for me to pull it out myself.

sharp yoke
#
2025-07-12T19:26:21.840Z ERROR 32 --- [Lavalink] [XNIO-1 task-2] c.github.topi314.lavasrc.LavaSrcTools    : Server responded with an error to 'https://spclient.wg.spotify.com/color-lyrics/v2/track/5ITV0zqzjOYfFWpW0xBmRa?format=json&vocalRemoval=false': 
2025-07-12T19:26:21.852Z  INFO 32 --- [Lavalink] [XNIO-1 task-2] l.server.io.RequestLoggingFilter         : GET /v4/lyrics?track=QAACBwMADFNob3cgTWUgTG92ZQAIV2l6VGhlTWMAAAAAAAKzRQAWNUlUVjB6cXpqT1lmRldwVzB4Qm1SYQABADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vdHJhY2svNUlUVjB6cXpqT1lmRldwVzB4Qm1SYQEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTZkMDAwMGIyNzMyYjYxM2QwMTg1MWMwMDc4ODZjNDc4ZjQBAAxERTFGQjI1MDAwMDUAB3Nwb3RpZnkBAAxTaG93IE1lIExvdmUBADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vYWxidW0vNGd5WUtVSUFPRWNQNTBSTTFTanpqNgEANmh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS9hcnRpc3QvM2ViUzJSdUNxOFFlTHluZFVEbWdCNQEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTYxMDAwMGU1ZWJlZjM4OGE2MjJiZjcxZmU3NDE1ZWZkZmIBAGtodHRwczovL3Auc2Nkbi5jby9tcDMtcHJldmlldy9lNzI1YzIyMmYwZjM0MjBmZmQ4ZjNjYTZkNGQ1YzZiOTk2NDA1MGI0P2NpZD1kOGE1ZWQ5NThkMjc0YzJlOGVlNzE3ZTZhNGIwOTcxZAAAAAAAAAAAAA%3D%3D&skipTrackSource=true, client=5.255.77.86
sharp yoke
#

what lavasrc and lavalyrics versions are you using

solid oasis
#

And custom lava src snapshot but It corresponds in some way to the latest snapshot from the lavasrc master branch

sharp yoke
#

ok ill update to 7d60077 then

#

didnt change anything xd still 400 haha

solid oasis
#

What api are you using?

#

From custom token endpoint

sharp yoke
#

and it works with spsearch etc.

solid oasis
#

And works

sharp yoke
#

i can try that, sure why not but i doubt it will change anything peepo_shrug
the output of my "/spotifytoken" endpoint is literally the same as yours from "/api/token"

xd

robust herald
#

has this come to a conclusion yet?

#

if not give me a tldr

sharp yoke
#

no nothing.
i need to test this yet

anyways following for tldr

  • lavasrc version "d8cba39"
  • lavalyrics version "7d60077"

with spotify options

  • preferAnonymousToken: true
  • customTokenEndpoint (from here

results in 400
Server responded with an error to 'https://spclient.wg.spotify.com/color-lyrics/v2/track/5ITV0zqzjOYfFWpW0xBmRa?format=json&vocalRemoval=false':

robust herald
#

Lyrics needs spDc

#

It does not work via anonymous tokens

sharp yoke
#

ah yes forgot to mention, i have spdc set and spotify premium

robust herald
#

Config?

#

Logs?

sharp yoke
sharp yoke
robust herald
#

one thing I have to mention
thats how I like it
quick and efficient!

sharp yoke
#

thanks but it was mentioned everything from the beginning until u said make tldr please :D

robust herald
#

cba reading 50 messages

sharp yoke
#

xd

robust herald
#

can you set com.github.topi314.lavasrc.LavaSrcTools: DEBUG in the log level section?

sharp yoke
#

okay

#

also this node i am testing this on doesnt playback anyting, it exists just to recieve inputs from this

robust herald
#

as long as the sources are enabled that shouldnt matter

sharp yoke
#

well but since i am using this node as nothing but for lyrics, lavasrc doesnt log anything for debug?

#

i can do everything on that node if you want

robust herald
#

it should still log the request going to spotify

#

and the response

#

if any body exists

sharp yoke
#

ok

sharp yoke
#

i mirror from spotify to deezer

robust herald
#

just so you know, your token generator is public in there

sharp yoke
#

i know im gonna change url later

robust herald
#

hm, I see no response body

#

annoying

pure cometBOT
#

LoadType: track

{
  "encoded": "QAACBwMADFNob3cgTWUgTG92ZQAIV2l6VGhlTWMAAAAAAAKzRQAWNUlUVjB6cXpqT1lmRldwVzB4Qm1SYQABADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vdHJhY2svNUlUVjB6cXpqT1lmRldwVzB4Qm1SYQEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTZkMDAwMGIyNzMyYjYxM2QwMTg1MWMwMDc4ODZjNDc4ZjQBAAxERTFGQjI1MDAwMDUAB3Nwb3RpZnkBAAxTaG93IE1lIExvdmUBADVodHRwczovL29wZW4uc3BvdGlmeS5jb20vYWxidW0vNGd5WUtVSUFPRWNQNTBSTTFTanpqNgEANmh0dHBzOi8vb3Blbi5zcG90aWZ5LmNvbS9hcnRpc3QvM2ViUzJSdUNxOFFlTHluZFVEbWdCNQEAQGh0dHBzOi8vaS5zY2RuLmNvL2ltYWdlL2FiNjc2MTYxMDAwMGU1ZWJlZjM4OGE2MjJiZjcxZmU3NDE1ZWZkZmIBAGtodHRwczovL3Auc2Nkbi5jby9tcDMtcHJldmlldy9lNzI1YzIyMmYwZjM0MjBmZmQ4ZjNjYTZkNGQ1YzZiOTk2NDA1MGI0P2NpZD1mODE1MTg4ZDk0NmQ0ZTQzYmIyNGZiZWZhOTQ4ZjhkNgAAAAAAAAAAAA==",
  "info": {
    "identifier": "5ITV0zqzjOYfFWpW0xBmRa",
    "author": "WizTheMc",
    "length": 176965,
    "isStream": false,
    "title": "Show Me Love",
    "uri": "https://open.spotify.com/track/5ITV0zqzjOYfFWpW0xBmRa",
    "sourceName": "spotify",
    "position": 0,
    "artworkUrl": "https://i.scdn.co/image/ab67616d0000b2732b613d01851c007886c478f4",
    "isrc": "DE1FB2500005"
  },
  "pluginInfo": {
    "save_uri": "https://open.spotify.com/track/5ITV0zqzjOYfFWpW0xBmRa",
    "albumUrl": "https://open.spotify.com/album/4gyYKUIAOEcP50RM1Sjzj6",
    "albumName": "Show Me Love",
    "previewUrl": "https://p.scdn.co/mp3-preview/e725c222f0f3420ffd8f3ca6d4d5c6b9964050b4?cid=f815188d946d4e43bb24fbefa948f8d6",
    "isPreview": false,
    "artistUrl": "https://open.spotify.com/artist/3ebS2RuCq8QeLyndUDmgB5",
    "artistArtworkUrl": "https://i.scdn.co/image/ab6761610000e5ebef388a622bf71fe7415efdfb",
    "isLocal": false
  },
  "userData": {}
}
robust herald
#

meh

sharp yoke
#

lmao it works on your node

robust herald
#

works for me just fine

sharp yoke
#

it worked on the node of the other guy here

robust herald
#

maybe some regional restrictions?

#

or expired spDc

sharp yoke
#

peepo_shrug the node is hosted in nl

#

i renewed that

robust herald
#

I run mine in germany from under my desk

#

¯_(ツ)_/¯

sharp yoke
#

xdd

#

i can try with a node in the us

robust herald
#

I can kick it and see if it stops working

sharp yoke
#

but on the us it has same result of 400?
do you think it has anything to do with my token?

but it works with spsearch

#

i am confused

robust herald
#

searching & lyrics are a bit different

#

can you try maybe a different spotify account?

#

try a free one

#

the lyrics wont be full but at least we know

sharp yoke
#

also new clientId and secret?

#

like everything new?

robust herald
#

that stuff isnt used for lyrics

sharp yoke
#

ah

robust herald
#

its an account only thing

sharp yoke
#

so just different spdc

robust herald
#

yes

#

can you go to the browser

#

play a song

#

and show the lyrics?

#

open the network tab and search for lyrics in the tab

#

https://spclient.wg.spotify.com/color-lyrics/v2/track/3mkxroy1t6J9HGywwjjE5a/image/https%3A%2F%2Fi.scdn.co%2Fimage%2Fab67616d0000b27336afd3d53b6dcc59f3563cf9?format=json&vocalRemoval=false&market=from_token

#

hmm

sharp yoke
robust herald
#

look for a url like that

sharp yoke
robust herald
#

seems to be the same for us goth

sharp yoke
#

spotify jinxthumbsup

robust herald
#

might need to play around with that image endpoint

#

not today tho

sharp yoke
#

all good. thanks for trying to help me

robust herald
#

Maybe the deprecated the other endpoint

#

Who knows

#

Not sure why it works for me tho

sharp yoke
#

i deleted the log messages as the token api url was visible, imma send u the logs in dm if u want the logs

#

if not u can close this :)

robust herald
#

I got them downloaded anyway

sharp yoke
robust herald
#

Much nicer to be able to open them in text editor and search them

sharp yoke
#

yea

robust herald
#

Screw screenshots

sharp yoke
#

Now I get "Account token refreshing failed." jinxthumbsup
I love it here KEKWW

#

idk i am using duckdns like a noob to have a dns provider so maybe thats something?

robust herald
#

Caused by: java.net.SocketTimeoutException: Read timed out
#

Idk, but your network is definitely fucked

#

Idk what duckdns is either