Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Plan
Premium
Currently, the API only provides a https://api.spotify.com/v1/me/tracks call to get all saved tracks, but no proper way to play them all, without calling https://api.spotify.com/v1/me/player/play with the IDs of all tracks, which doesn't work properly with large amounts of tracks. Playlists, albums etc. have a context uri that can be used instead, but that seems to be missing for saved tracks and other similar library items.
Hey @kraxie, thanks for posting here!
Let's see what could help here! Could you try the following context URI:
"spotify:user:{{username}}:collection"
to play the user's tracks. Let me know how you get on!
Have a great day and happy coding!
Hubo
Hi and thanks for your response.
Unfortunately, that didn't work. The API responded with error: "Non supported context uri".
Ditto, getting the exact same issue.
any updates on this?
The context uri you can use is spotify:user:yourUserIdHere:collection as mentioned by Hubo. You can use it with the Start/Resume Playback endpoint.
Thats the solution.
It works perfectly for me
I get `Player command failed: Restriction violated`. Did I missed a scope or Spotify changed something here?
Hey @MijikBro
The required authorization scope is user-modify-playback-state.
Does it work when you use this?
With the console, everything works as expected.
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…