Jamming Followed the video exactly and it doesn't work

Hey i can’t seem to get any help on this. Maybe because it’s an exact match for the video and still doesn’t work. When i call savePlaylist, my page refreshes and it doesn’t save the playlist. Any help would be greatly appreciated. The code gets the token and updates the search bar okay. It’s only when i try and save the playlist, that it refreshes the page.
I’ve refactored the code to manually enter the headers but these have all been fruitless attempts at fixing the problem.


Hi,
I don’t think that the problem is in the Spotify methods. Have you tried to comment out all the logic in the savePlaylist method (in order to suppress the reload’ and log the arguments ‘playlistName’ and ‘trackURIs’ to the console in order to see if anything valid comes in in the first place.

1 Like