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"
}
}
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:
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…