JohnnyCrazy / SpotifyAPI-NET

:sound: A Client for the Spotify Web API, written in C#/.NET
http://johnnycrazy.github.io/SpotifyAPI-NET/
MIT License
1.52k stars 310 forks source link

Multiple endpoints got disabled/removed for unapproved apps #1012

Open karaokenerd opened 4 days ago

karaokenerd commented 4 days ago

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
jgoyvaerts commented 3 days ago

@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?

JohnnyCrazy commented 3 days ago

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.

JohnnyCrazy commented 3 hours ago

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.

image

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.