Hi, I recently deployed this bit on Replit without any problems. I decided to host it on my home server. I got it all set up but whenever I try to add a playlist from Spotify I get that error.

I have tried by changing few thing on the slash player.js and searched online but everything I tried does not lead to a solution. I can add single tracks from spotify no problem. I can add playlist from youtube and single tracks too. I do not know whats on the spotify playlist that triggers that error. if someone can shine some help O will really appreciate it.