You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've just found exactly the same problem. Since it seems a low-level issue not trivial to be solved, I tentatively decided to create a wrapper of add_tracks_to_playlist(), that, if length(uris) = 1 it adds together with the desired track another track which I would never add to my Spotify library and then immediately removes it. This is a trick that forces the function to add at least two songs in any case.
Trying to add tracks to a playlist, I get an error:
To get more information about the problem, I look at
I think the issue is that the POST body is incorrectly encoded into JSON if there is only one element in the character vector
uris
.Session info
The text was updated successfully, but these errors were encountered: