Skip to content Skip to sidebar Skip to footer

Spotipy Client_credential_manager No Token Provided

I'm trying to use the Spotify API with the spotipy.py python module. I saw a specific example in several places and everyone says it works. this is the code: CLIENT_ID = '3de0e551d

Solution 1:

You can't access user-specific information with just a Client ID and secret, even if you try and access your Spotify account which is the developer of the Spotify integration. You can access endpoints that provide public info, like artist & track info.

If you want to access user-specific data you need to go through the authorization code flow to get an access token that you provide to the Spotify client object instead.

Spotipy docs about authorization code flow


Post a Comment for "Spotipy Client_credential_manager No Token Provided"