Multiple endpoints got disabled/removed for unapproved apps
I am making a calls to GetRelatedArtists(artistId):
var relatedArtistsTask = spotify.Artists.GetRelatedArtists(artist.Id);
var relatedArtists = relatedArtistsTask.Result.Artists;
Previously this worked, but now every call results in an exception:
System.AggregateException: 'artists/3zY660ZcTul3RHB95VHqBu/related-)'
Inner Exception:
APIException: Not Found
@karaokenerd See https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api .
Related to this, I can no longer retrieve Discover weekly and release radar playlists from the api GetPlaylistAsync, it gives me a 404. However, I don't see an explanation for that in the blog post (getplaylistasync should be unaffected). Anyone else seeing this?
Well that's quite a news post after a full year of silence.
See point 8 "Algorithmic and Spotify-owned editorial playlists". That's why you can't fetch the playlists anymore.
Will pin this so others can easily find it.
To add some more clarifications for library users:
Effective today, new Web API use cases will no longer be able to access or use the following endpoints and functionality in their third-party applications. Applications with existing extended mode Web API access that were relying on these endpoints remain unaffected by this change.
If your app was created before this change, but it never was put to "Extended Quota Mode" by Spotify, you're also affected of those endpoint removals.
Summarizing, if your app settings show this mode, there is no way to access the removed endpoints.
Algorithmic and Spotify-owned editorial playlists
They kept this like super vague, but first reports seem like paginateable endpoints will return null if you try to query a spotify owned editorial playlist. Other single-GET endpoints might throw 403.
As a library, there is nothing we can do. Except complain about this change on the forums: https://community.spotify.com/t5/Spotify-for-Developers/Changes-to-Web-API/td-p/6540414
But considering the lack of communication in the recent years, I doubt they actually care about what we write in this thread.
Firstly, thanks for the library, Jonas. Been using it for quite a while in my own Spotify CLI app, which is now completely broken thanks to the recent changes.
Seeing how there are more than 400 comments on that thread and not a single reply from Spotify I am pretty sure they won't revert any changes. It's how these corporations work. Google have done the same - release changes without any prior announcements and never respond to complaints.
Sounds like it's time to move it to another service (I keep saying that to myself for years but maybe it's finally time).