Tracks on private playlist (with secret_token) generating 404 error on stream
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- api
Research direction
Start at the SC.stream entry point and reproduce the two requests shown in the issue for a private track and playlist secret token. Compare the failing /tracks/[trackid] request with the working /tracks/[trackid]/stream request, then verify that private playlist streaming no longer returns 404.
Written by the indexing model from the issue text.
Description
Streaming a private track from a private playlist used to work fine as long as you used the playlist's secret token. It now generates a 404. This started happening yesterday (Dec. 7, 2016).
SC.initialize({
client_id: xxxxxxxxxxxxxxxx,
redirect_uri: xxxxxxxxxxxxxxxx
});
SC.stream('/tracks/[trackid], [playlist_secret_token]).then(function(data) {
data.play();
}).catch(function(error) {
alert('Error! ' + error.message);
});
The error:
Failed to load resource: the server responded with a status of 404 (Not Found)
What's interesting is that this generates an error:
https://api.soundcloud.com/tracks/[trackid]?secret_token=[playlist_secret_token]&format=json&client_id=xxxxxxxxxxxxxx
While this resolves correctly:
https://api.soundcloud.com/tracks/[trackid]/stream?secret_token=[playlist_secret_token]&format=json&client_id=xxxxxxxxxxxxxx
Is anyone else having this problem? Did anything change in regards to playlist secret tokens?
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from soundcloud/soundcloud-javascript
-
Dependency Dashboard Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
soundcloud/soundcloud-javascript#90 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in soundcloud/soundcloud-javascript
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100