Rspotify
Rspotify copied to clipboard
getPlaylistSongs: undefined columns error
Failed Example:
getPlaylistSongs(
ownerid = "roman86s",
playlistid = "09I0tyeHnd4G6vnt8iBYDM",
offset = 0,
token = [Insert your Oauth token here])
Error:
Error in `[.data.frame`(data.frame(json2$track$artists[x])$id, 1) :
undefined columns selected
I came across the same error with one specific playlist, not sure why but maybe it has something to do with the fact that this playlist is created by someone else. I went around this issue by creating a duplicate of that playlist so that it became my "own" playlist.
same issue