Getting Invalid context uri when calling Spotify API start playback
I'm trying to start playback of a playlist with this endpoint https://developer.spotify.com/web-api/start-a-users-playback/
It works for artist and album if my body json is this:
{"context_uri":"spotify:artist:1FcB6xMihhP9Hb6AdGVbWe"}
but not for playlists with this:
{"context_uri:"spotify:playlist:37i9dQZF1DWVl5gPCRkquk"}
In the documentation it says I can specify playlists, artists, or albums, but I get the below response when trying to play a playlist:
Status code: 400, response : { "error" : { "status" : 400, "message" : "Invalid context uri" }}
链接地址: http://www.djcxy.com/p/55644.html
上一篇: Spotify API工作流程