Skip to content

addTracksToPlaylist needs an extra parameter #159

Open
@LuisAlvarez98

Description

@LuisAlvarez98

Hello this is my first time posting an issue on github. I don't know if here is the place to report something like this but I had an issue with the API call addTracksToPlaylists. I was trying to using it with the params:
playlistId and uri's list as it was told in the documentation
and the API wrapper builded this url: https://api.spotify.com/v1/users/[**playlistId**]/playlists/spotify:track:5cB9BlseQteklXaJjRtZti,spotify:track:2u6CBCGo8outw3ThHk4c4l,spotify:track:3dq0YBLnSElFSWETquqtxP,spotify:track:3PS7vZHBOB3rT70CUYHagZ/tracks

and I went to the Spotify Web API site and found that the url must be formed like this:
image

So I think that is needed to specify that an userId is also required to do the request properly.
Because currenlty in your docs this is not being specified:
image

First attempt without userId gave me a 404 error
image
Second attempt with userId gave me a 201
image

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser: Google Chrome
  • Version: 80.0.3987.163

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions