The 403 Forbidden error usually means that the server understands the request but refuses to authorize it. Missing or Invalid Spotify Scopes In your refreshAccessToken() function, you are refreshing the token but not specifying the required scopes. Without proper scopes, you might get a 403 error when trying to access playlist data.