Soundcloud API SC.stream (track not loading)

I stream music from the soundcloud API, and sometimes when I call SC.stream, the track does not work and I get an error:

"GET http://api.soundcloud.com/tracks/80608808/stream?client_id=78bfc6a742a617082972ddc5ef20df2a 404 (not found)"

A GET request works for some tracks, not others. I cannot understand why or if there is a problem with the SC API.

It is a replication of my problem on plnkr:

http://plnkr.co/edit/TMVWGg

Thanks!

+4
source share
1 answer

This is due to the fact that some soundcloud tracks are not streaming via api. You can check this for each track by the "streamable" property.

0
source

All Articles