I'm trying to give users an option to create a private playlist from the app.
I followed documentation and my request successfully creates a playlist on user's account (I can see the playlist on my profile) but the response that comes back doesn't contain any information about the playlist. Instead a completely irrelevant artist object is sent back.
Here's an URL from the request:
"https://api.spotify.com/v1/users/adwienc/playlists"
Here's body of the request:
{"collaborative":false,"description":"Queue","name":"Plum-Queue","public":false}
And here is the JSON response:
{
"external_urls" : {
"spotify" : "https://open.spotify.com/artist/7c5qu1gNlg8jWDzzmlp89O"
},
"followers" : {
"href" : null,
"total" : 88545
},
"genres" : [ "bboy", "deep house", "electronica", "indie soul", "nu disco" ],
"href" : "https://api.spotify.com/v1/artists/7c5qu1gNlg8jWDzzmlp89O",
"id" : "7c5qu1gNlg8jWDzzmlp89O",
"images" : [ {
"height" : 640,
"url" : "https://i.scdn.co/image/ab6761610000e5eb210cc6db3a8f24c1036c3051",
"width" : 640
}, {
"height" : 320,
"url" : "https://i.scdn.co/image/ab67616100005174210cc6db3a8f24c1036c3051",
"width" : 320
}, {
"height" : 160,
"url" : "https://i.scdn.co/image/ab6761610000f178210cc6db3a8f24c1036c3051",
"width" : 160
} ],
"name" : "Kraak & Smaak",
"popularity" : 51,
"type" : "artist",
"uri" : "spotify:artist:7c5qu1gNlg8jWDzzmlp89O"
}
This must be a bug. Spotify, please fix this