Announcements

Metal Category ID removed

Metal Category ID removed

WhoGives23

Is there a reason for this category ID being removed? I used this category id flawlessly up until end of last year, when my application broke. I have since learnt that it was caused by the categoryID being removed.

 

 

 

 

 

curl -X "GET" "https://api.spotify.com/v1/browse/categories/metal?country=US&locale=en_US"

 

 

returns:

 

 

{
  "error": {
    "status": 404,
    "message": "Specified id doesn't exist"
  }
}

 

 

 

 

Reply
1 Reply

E8Wq

According to the list of categories, metal has a new ID of 0JQ5DAqbMKFDkd668ypn6O:

curl -H "Authorization: Bearer ..." 'https://api.spotify.com/v1/browse/categories'

So try the following:

curl -H "Authorization: Bearer ..." 'https://api.spotify.com/v1/browse/categories/0JQ5DAqbMKFDkd668ypn6O/playlists?country=US'

Note this sporadically returns 404 for me. This bug has been described elsewhere:

Suggested posts

Env: prod