Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Spotify API cannot find public playlists from user Spotify

Spotify API cannot find public playlists from user Spotify

I want to fetch playlist popularity data using the spotify API, among which playlists from user Spotify.

I can find many public playlists:
```
import spotipy
from spotipy.oauth2 import SpotifyClientCredentials
spotify_api = spotipy.Spotify(
client_credentials_manager=SpotifyClientCredentials()
)
playlists = spotify_api.user_playlists(user='spotify')
```
I cannot fetch any info about any playlist from user Spotfy:
`spotify_api.playlist('1JuraqRjLX4CmhyvvuXiPF')` > 404 ERROR

But I can for public playlists from other users:
`spotify_api.playlist('4rnleEAOdmFAbRcNCgZMpY')` > WORKS

Is this expected behaviour?
Reply
1 Reply

Hi @mgpoirot 

Thanks for posting in the Spotify Community, and welcome!

 

This is expected behaviour. Getting playlist with Spotify as the user is no longer possible due to changes introduced to the Web API on November 27, 2024. You can find more details on this page.

 

I hope this answers your question. If you have any further questions, feel free to ask.

 

Cheers!

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts