-
Notifications
You must be signed in to change notification settings - Fork 79
Missing playlists in Get a List of a User's Playlists endpoint #87
Comments
Hi @blackarcanis! This sounds interesting, but it'd help a lot if you could provide us with the username and the playlist URI that isn't returned. Also, I'm assuming that you're making these requests with an access token that's authorized by the user that corresponds to |
Hi thanks for your reply ! username => etiennepvst Thanks ! |
@blackarcanis, could you double-check that username please? |
@thelinmichael It's possible with a maj case "Etiennepvst" it's a linked account to Facebook. |
@blackarcanis, thanks for clarifying. Spotify doesn't support uppercase characters in user_id's, so the username would be converted to However, making a request to the Get User's Playlists endpoint for the user with user_id API Console link to this request This means that I can't reproduce the issue you're seeing, unless you're only seeing it when using an access token authorized by this user, with certain scopes. Would appreciate if you'd check again if you're seeing this issue using |
Ah yes, i can confirm it's good with this ID ! Thanks ! |
@blackarcanis, interesting. Could you please paste the response from the |
As example, my account return :
There is no numerical ID here. |
Thanks a lot @blackarcanis. If a user has registered their Spotify account through Facebook they're given a numerical ID such as The Web API doesn't expose Facebook user id's for users that has a connection between Facebook and Spotify. |
I'm not sure to understand. And you say "Web API doesn't expose Facebook user id's" so... how can i get it here ? Because there's a connection between Facebook and Spotify and his case. For my account "blackarcanis", when i connect Spotify to Soundiiz with my Facebook account, it's always "blackarcanis" wich is returned and not an numeric ID... |
@blackarcanis, you're not retrieving a numeric ID because you didn't register your Spotify account through Facebook. Instead, my guess is that you added the Facebook integration as an afterthought. Your friend was given a numeric ID because he never chose a Spotify username. I'm going to try to recreate this again but so far I can't see why that playlist wouldn't be returned since it's public, not collaborative, and owned by the user himself. I'd appreciate if you could paste the response you're getting from the API using this user's credentials. |
Thanks @thelinmichael for your help ! Just for be more precise : When this user goes to the web player he can't see "Lana Del Rey" playlist but on the software app, he can see it. |
Here is the return with credentials of the account of my friends :
As you can see the user ID is not the same you link before |
@thelinmichael , got some some news ? :/ |
Ok, this is starting to make sense now. So what I see here is that your user, Etienne Pvst, has a Facebook generated I've checked which playlists user |
Well... the issue is this two accounts it's the same user, a friend of me, and for him he has only one account :/ And that's why he doesn't have the same playlists on the web version and the software version. Do you have an issue with this migration when you introduce and old user to the web version ? |
@blackarcanis, my assumption is still that these are two different accounts. I'd ask him to log out of the desktop application and log back in again using his Facebook account. I'd also ask him to open a private tab in his browser and try logging into the Web Player. If he uses the same Facebook account to log in but still gets different playlist content, it sounds like a bug. |
Closing this issue now since we haven't had any reports of similar problems. Please open it if you're still experiencing this and you believe that this occurs for a single account. |
I have the same problem. Although my permissions are set to (user-read-private","playlist-modify-public","playlist-read-collaborative","playlist-modify-private", "streaming"), I cannot get some of my playlists. I do not have numerical id as @blackarcanis . |
Hi,
Here MAGNANO Thomas, from Soundiiz, the playlists converter.
We've got a strange issue when we get playlists of an user.
This is what i call : https://api.spotify.com/v1/users/'id_user'/playlists
We can get all playlists but sometimes... no.
Some users (i can give you name in private), don't have all their playlists returned with this method.
Do you know why ? Scopes are good i suppose => "playlist-read-private playlist-read-collaborative playlist-modify-public playlist-modify-private"
It's an issue just for some users but why ? Even if they create a new playlist on the web version, it's not returned in this call.
Thanks a lot for helping us !
The text was updated successfully, but these errors were encountered: