Spotify shutdown the endpoints :(
{
"error": {
"code": 400,
"message": "Unauthorized request",
"extra": {
"_notes": "Usage of this endpoint is not permitted under the Spotify Developer Terms and Developer Policy, and applicable law"
}
}
}