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

Response after creating playlist returns artist object instead of a playlist. wth?

Solved!

Response after creating playlist returns artist object instead of a playlist. wth?

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

Reply

Accepted Solutions
Marked as solution

Does this bug still occur? I tested it through the console and it worked for me.

 

View solution in original post

2 Replies
Marked as solution

Does this bug still occur? I tested it through the console and it worked for me.

 

This issue stopped occurring. Maybe it was a temporary bug

Suggested posts