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
I'm seeing this reproducible error when fetching suggestions for certain tracks.
I'm not too experienced when it comes to streams, so if I'm being dumb just let me know.
spotify.similar('spotify:track:7I67h6FgRenMQ90URnoycZ',function(err,similar){if(err)returnconsole.log(err),false;// DO STUFF});
TypeError: First argument needs to be a number, array or string.
at new Buffer (buffer.js:188:15)
at Spotify.<anonymous> (/home/pi/apps/anon/node_modules/spotify-web/lib/spotify.js:649:46)
at fn (/home/pi/apps/anon/node_modules/spotify-web/lib/spotify.js:396:10)
at Spotify._onmessage (/home/pi/apps/anon/node_modules/spotify-web/lib/spotify.js:412:5)
at WebSocket.EventEmitter.emit (events.js:98:17)
at Receiver.self._receiver.ontext (/home/pi/apps/anon/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:697:10)
at Receiver.opcodes.1.finish (/home/pi/apps/anon/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:397:14)
at Receiver.expectHandler (/home/pi/apps/anon/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:384:31)
at Receiver.add (/home/pi/apps/anon/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:93:24)
at CleartextStream.firstHandler (/home/pi/apps/anon/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:678:22)
The text was updated successfully, but these errors were encountered:
I'm seeing this reproducible error when fetching suggestions for certain tracks.
I'm not too experienced when it comes to streams, so if I'm being dumb just let me know.
The text was updated successfully, but these errors were encountered: