Hi I am trying unsucessfully add currently played song to user's library using node-red-contrib-spotify and API: addtomysavedtracks. I am passing the params like this:
var idsy = global.get("song_id")
msg.params = [idsy]
return msg;
obtaining in msg.params the array of ids of the songs that I want to add to library. In this case it is always one song with one id passed. The response from the spotify is:
error: "WebapiError: Bad Request"
I already tried other options of passing parameter but with no luck. Anybody succeeded?