Help Wizard

Step 1

NEXT STEP

Who Me Too'd this topic

[Web API] <playlist>.public not coherent across different requests

Plan: Premium
Country: France
Device: Web API
Operating System: Ubuntu

 

 

Hello,

 

I'm trying to get the public status of the playlist with id 4LhrxxiWqYvmGCGZywiZAj .
According to my player (linux client), this playlist is public.

 

The 2 following requests to the API returns me a different result:

 

- https://developer.spotify.com/console/get-current-user-playlists/
GET https://api.spotify.com/v1/me/playlists
=> response.items.find(({id}) => id == "4LhrxxiWqYvmGCGZywiZAj").public == false
(however some playlists appear as public)

 

- https://developer.spotify.com/console/get-playlists/
GET https://api.spotify.com/v1/users/{user_id}/playlists
=> response.items.find(({id}) => id == "4LhrxxiWqYvmGCGZywiZAj").public == false
(however some playlists appear as public)

 


At the opposite, the following one gives me the same response as my client did:
https://developer.spotify.com/console/get-playlist/
GET https://api.spotify.com/v1/playlists/{playlist_id}
=> response.public == true

 

Is there a problem you have already identified?
Have you already a plan to fix it?
I'm asking for (theoretical) deadlines to know if I should wait a fix within 2 weeks or if I should better adapt my code to use the last request instead of the first 🙂


Note: The owner have less than 100 playlists, not all of them are public.

Who Me Too'd this topic