AllTheCodez
AllTheCodez

Reputation: 321

Soundcloud API suddenly started returning 404 when attempting to follow/unfollow valid users

Using Soundcloud Ruby gem. Was working fine until a few days ago when attempting to follow or unfollow a valid user returns a 404 error.

IE: client.put("/users/me/followings/[THE USER ID]") Returns # with a message about a 404 error.

I saw on Soundcloud.com a notice that said something about the followers system being down, so perhaps this is related, but I no longer see that message. What going on? Is the API down? Have there been recent changes?

Upvotes: 1

Views: 243

Answers (2)

Alon Pe'er
Alon Pe'er

Reputation: 100

Thank you for reporting this. The issue should be resolved now.

The v1 endpoints are "legacy", but should work now anyway.

In the future we plan to deprecate and remove support for those.

Upvotes: 1

Ashish Chaturvedi
Ashish Chaturvedi

Reputation: 1379

SoundCloud changed followers api URLs recenlty. Earlier followers api url was

 https://api.soundcloud.com/v1/me/followings/[THE USER ID]?client_id=[THE CLIENT ID]&app_version=1456328900

It changed by

https://api.soundcloud.com/me/followings/[THE USER ID]?client_id=[THE CLIENT ID]&app_version=1456328900

They remove V1 from URL.

Upvotes: 1

Related Questions