Jamming project

Hello, so I’ve followed the tutorial for jamming. Made some changes although something i haven’t been able to fix are these two errors on Spotify.js:

[HTTP/2 401 Unauthorized 37ms]
error Object { status: 401, message: “No token provided” }

and the playList.Id being undefined shows this:

XHRPOSThttps://api.spotify.com/v1/playlists/undefined/tracks
[HTTP/2 404 Not Found 50ms]
error Object { status: 404, message: “Invalid playlist Id” }
status 404

i tried adding a lagging ‘/’ in the ‘localhost:3000’ on both sides and just threw it as invalid, seen that in another thread to no avail unfortunately.
I’ve updated the fetch links too, so their up-to-date from what i can tell, seen that on another thread. Tried getting a new API for the authentication error, I don’t know what to do now.
I’ll try attaching my code below.