Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Many artist ids are not returning any recommendations from the API. I'm assuming this is a bug.
Just a couple of examples, using the developer console, omitting the authentication bearer part of the header:
curl -X "GET" "https://api.spotify.com/v1/recommendations?market=US&seed_artists=5hAhrnb0Ch4ODwWu4tsbpi" -H "Accept: application/json" -H "Content-Type: application/json"
curl -X "GET" "https://api.spotify.com/v1/recommendations?market=US&seed_artists=2YZyLoL8N0Wb9xBt1NhZWg" -H "Accept: application/json" -H "Content-Type: application/json"
Odd, I've just tried again, copied your first line and added my own authorisation to the end, and it returns values. So possibly something to do with your account?
$ curl -X "GET" "https://api.spotify.com/v1/recommendations?market=US&seed_artists=5hAhrnb0Ch4ODwWu4tsbpi" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer xxx"
{
"tracks" : [ {
"album" : {
"album_type" : "ALBUM",
"artists" : [ {
"external_urls" : {
"spotify" : "https://open.spotify.com/artist/2iUVQjheBnvOt8vaBrxXJz"
},
"href" : "https://api.spotify.com/v1/artists/2iUVQjheBnvOt8vaBrxXJz",
"id" : "2iUVQjheBnvOt8vaBrxXJz",
"name" : "Cass McCombs",
"type" : "artist",
"uri" : "spotify:artist:2iUVQjheBnvOt8vaBrxXJz"
} ],
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…