#Spotify can't find tracks starting today

1 messages · Page 1 of 1 (latest)

vapid condor
#

I tried queueing my usual Spotify playlist, and it won't find the tracks. I tried single songs, nothing as well. These are my Lavalink Logs and my Bot Logs, also my Lavalink YML with omitted keys.

#
at com.github.topi314.lavasrc.spotify.SpotifySourceManager.loadItem(SpotifySourceManager.java:278) ~[lavasrc-plugin-4.7.0.jar!/:na]

at com.github.topi314.lavasrc.spotify.SpotifySourceManager.loadItem(SpotifySourceManager.java:230) ~[lavasrc-plugin-4.7.0.jar!/:na]

at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:442) ~[lavaplayer-2.2.2.jar!/:na]

at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:423) ~[lavaplayer-2.2.2.jar!/:na]

at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.loadItemSync(DefaultAudioPlayerManager.java:154) ~[lavaplayer-2.2.2.jar!/:na]

at com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager.loadItemSync(AudioPlayerManager.java:127) ~[lavaplayer-2.2.2.jar!/:na]

    at lavalink.server.util.LoadingKt.loadAudioItem(loading.kt:15) ~[classes!/:4.0.8]

        ... 65 common frames omitted

Caused by: java.io.IOException: Failed to retrieve secret from Spotify.

        at com.github.topi314.lavasrc.spotify.SpotifyTokenTracker.generateGetAccessTokenURL(SpotifyTokenTracker.java:269) ~[lavasrc-plugin-4.7.0.jar!/:na]

        at com.github.topi314.lavasrc.spotify.SpotifyTokenTracker.refreshAnonymousAccessToken(SpotifyTokenTracker.java:124) ~[lavasrc-plugin-4.7.0.jar!/:na]

        at com.github.topi314.lavasrc.spotify.SpotifyTokenTracker.getAnonymousAccessToken(SpotifyTokenTracker.java:116) ~[lavasrc-plugin-4.7.0.jar!/:na]

        at com.github.topi314.lavasrc.spotify.SpotifySourceManager.getJson(SpotifySourceManager.java:285) ~[lavasrc-plugin-4.7.0.jar!/:na]

        at com.github.topi314.lavasrc.spotify.SpotifySourceManager.getPlaylist(SpotifySourceManager.java:421) ~[lavasrc-plugin-4.7.0.jar!/:na]

        at com.github.topi314.lavasrc.spotify.SpotifySourceManager.loadItem(SpotifySourceManager.java:272) ~[lavasrc-plugin-4.7.0.jar!/:na]

        ... 71 common frames omitted ```
#

i checked my YML and it has the correct spotify client id and secret, and lavasrc is on and set to use those credentials

#
  port: 2333
  address: 0.0.0.0

lavalink:
  server:
    password: "" 
    sources:
      youtube: false
      bandcamp: true
      soundcloud: true
      twitch: true
      vimeo: true
      http: true
      local: false
    youtubeSearchEnabled: true
  plugins:
    - dependency: "dev.lavalink.youtube:youtube-plugin:1.13.3"
    - dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.7.0"
    - dependency: "com.github.topi314.lavasearch:lavasearch-plugin:1.0.0"

plugins: # Configuration for loaded plugins (note lowercase 'plugins')
  lavasrc:
    sources:
      youtube: false   
      ytdlp: false     
      spotify: true
      applemusic: false
      deezer: false
      flowerytts: false
      yandexmusic: false
    spotify:
      clientId: "" 
      clientSecret: "" 
      countryCode: "US"
  youtube: 
    enabled: true 
    allowSearch: true 
    allowDirectVideoIds: true 
    allowDirectPlaylistIds: true 
    oauth:
      enabled: true 
      clientId: "" 
      clientSecret: "" 
      refreshToken: "" 
      skipInitialization: true 
    pot: 
      token: ""
      visitorData: ""
    clients:
      - WEB
      - MUSIC
      - MWEB
      - WEBEMBEDDED
      - ANDROID_MUSIC
      - ANDROID_VR
      - TV
      - TVHTML5EMBEDDED
    clientOptions:
      MUSIC:
        playback: false
        playlistLoading: false
        searching: true
        videoloading: false
      WEB:
        playback: true
        playlistLoading: true
        searching: true
logging:
  level:
    root: INFO
    lavalink: DEBUG
    dev.lavalink.youtube: DEBUG
    com.github.topi314.lavasrc: DEBUG
    com.github.topi314.lavasearch: DEBUG```
#

And I get this friendly throwback from my bot

An unexpected error occurred: Failed to Load Tracks: error=Something went wrong while looking up the track., severity=fault, cause=com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong while looking up the track.```
#

So, i go to github and see lavasrc has an update, instead of .0 it's .3, so i go into my YML and change the plugin version so itll update

#

after that, lavalink only says this after confirming is it ready to accept connections


2025-07-22T01:39:24.775Z  INFO 3033262 --- [Lavalink] [  XNIO-1 task-2] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'

2025-07-22T01:39:24.777Z  INFO 3033262 --- [Lavalink] [  XNIO-1 task-2] o.s.web.servlet.DispatcherServlet        : Completed initialization in 2 ms

2025-07-22T01:39:24.944Z  INFO 3033262 --- [Lavalink] [  XNIO-1 task-2] l.server.io.RequestLoggingFilter         : PATCH /v4/sessions/fd3vunhfwwamoldq/players/1366305841426202624?noReplace=True, payload={"voice": {"sessionId": "I REMOVED THIS", "token": "I REMOVED THIS", "endpoint": "I REMOVED THIS"}}

2025-07-22T01:39:25.026Z  INFO 3033262 --- [Lavalink] [  XNIO-1 task-3] l.server.io.RequestLoggingFilter         : DELETE /v4/sessions/fd3vunhfwwamoldq/players/1366305841426202624```
#

and then my bot begins throwing this:


Traceback (most recent call last):

  File "/home/opc/WhatAViewBot/cogs/music_cog.py", line 1355, in play_command

    tracks: wavelink.SearchPayload = await wavelink.Pool.fetch_tracks(search_query_for_wavelink)

                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/opc/WhatAViewBot/.venv/lib64/python3.11/site-packages/wavelink/node.py", line 982, in fetch_tracks

    raise LavalinkLoadException(data=resp["data"])

wavelink.exceptions.LavalinkLoadException: Failed to Load Tracks: error=Something went wrong while looking up the track., severity=fault, cause=com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong while looking up the track.

2025-07-22 01:34:50:INFO:discord.cogs.music: [1366305841426202624] Bot is inactive in General. Disconnecting.

2025-07-22 01:34:50:INFO:discord.cogs.music: [1366305841426202624] OVSU - Bot has left voice channel General.

2025-07-22 01:39:25:INFO:discord.cogs.music: [1366305841426202624] OVSU - Bot has left voice channel General.```
#

so, i reverted back to .0 instead of .3

#

I am now safely sitting on v 4.7.0 but with broken spotify. Any help is appreciated, I'm lost on what could've changed when it's worked for weeks now. Thanks!

quasi kernel
#

what version of lavasrc are you using.

quasi kernel
#

im slow

#

hold on.

vapid condor
#

should i delete my 4.7.0 plugin, and change my YML to say - dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.7.3" instead of - dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.7.0"

quasi kernel
vapid condor
ebon jewel
quasi kernel
#

but use whatever you want for py

vapid condor
#

Turns out the update 4.7.3 did work, I simply didn't delete my previous plugins file and it didn't overwrite it, rookie mistake

#

As far as Lavalink and Wavelink, if i've built it all up on Wavelink I've likely got a lot of refactoring to do to my code, right?

#

Pretty much from the ground up if it's what I'm understanding

quasi kernel
vapid condor
#

Entire refactor

quasi kernel
#

yeah

vapid condor
#

Rewrite even

#

Alright, I appreciate that information, if I end up getting to the point where I have that time and energy or Wavelink starts showing deprecated issues, I'll make sure to remember it's Lavalink time

#

This is solved though, wanna mark it or should I?

quasi kernel
vapid condor
#

?solved

#

!solved

#

fuggin

#

solved

#

🥸

hot delta
#

java.io.IOException: Invalid status code from https://cf-hls-opus-media.sndcdn.com/media/77523/635363/703829/53e351b7-a47a-41e9-992a-0442ada93f2a.64.opus?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1vcHVzLW1lZGlhLnNuZGNkbi5jb20vbWVkaWEvNzc1MjMvKi8qLzUzZTM1MWI3LWE0N2EtNDFlOS05OTJhLTA0NDJhZGE5M2YyYS42NC5vcHVzIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzUzMjE1NzE4fX19XX0_&Signature=WPLE~gbi1KKlmev-Mlpn9yAGRFGwf-OEwq7p5NfeBfDh3hNBa2iJ-xBbbmM9jvYLRcd8or0Nw10sWCXQt5uqxq-7TYa6AJxhIoTR28tY3SONK7G5NQYCz1EYcXTlaDL0EVd3qalRfDFxMHQ4CRPLYeG0eshnK-fxUYng-1-VRYx2PejLQjvHauQ5PsJFhpJm-xa39gGizCN0s1XbuRTKtrXOs6fw~XCPSr6HqQmlEQNrgYyrr1XzxDSJzccLXmoeoLzFuUEbexZ7Xwu-WrzQ7LuCy8pdoNYmLxKcjgTSO24Mq-Xwf53w~vu7QwT3fxoFiTX7vFpMFTeKv8zvm0gFaQ__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ URL: 403