d:\Python\node_modules\lavasfy\dist\Client.js:59
return Promise.reject(new Error("Invalid Spotify client."));
^
Error: Invalid Spotify client.
at LavasfyClient.requestToken (d:\Python\node_modules\lavasfy\dist\Client.js:59:39)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.exec (d:\Python\MusicBotJs\src\listeners\ready.js:6:29)
Node.js v17.4.0
How to I fix this error (I have entered the spotify client ID , Secret)
I might be wrong, but you are probably using erela.js since it's a famous NodeJs library, in that case, you could use plugins like erela.js-spotify, or you could use lavalink libraries that already have that implemented, like fastlink.