pckhib / node-red-contrib-spotify

Node-RED node for Spotify Web API
MIT License
13 stars 16 forks source link

err: "TypeError: params.slice is not a function" #7

Open micsen opened 5 years ago

micsen commented 5 years ago

Trying to pass a URI to PLAY function

params: object context_uri: "spotify:track:1301WleyT98MSxVHPZCA6M"

returns err: "TypeError: params.slice is not a function"

nwaelti commented 5 years ago

I've had the same issue and the I realized that you had to pass an array of params and not a object of subobjects... params = ["spotify:track:1301WleyT98MSxVHPZCA6M"] But then comes the next error: "TypeError: Cannot use 'in' operator to search for 'context_uri' in ... Any luck ?

g3d12 commented 4 years ago

The same with me...tried it in every possible way and it doesnt work. Seems that same error occurs also with addtomysavedtracks, containsMySavedTracks