spotify-playlist-downloader icon indicating copy to clipboard operation
spotify-playlist-downloader copied to clipboard

TypeError: Cannot read property 'csrftoken' of undefined

Open turbolego opened this issue 6 years ago • 7 comments

On windows 10.

  debug('login CSRF token: %j, tracking ID: %j', args.csrftoken, args.trackingId);
                                                      ^

TypeError: Cannot read property 'csrftoken' of undefined
    at Spotify._onsecret (C:\Users\HERPDERP\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\spotify-web\lib\spotify.js:256:55)
    at Request.callback (C:\Users\HERPDERP\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\superagent\lib\node\index.js:584:30)
    at Request.<anonymous> (C:\Users\HERPDERP\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\superagent\lib\node\index.js:133:10)
    at Request.emit (events.js:132:15)
    at Request.emit (domain.js:421:20)
    at Stream.<anonymous> (C:\Users\HERPDERP\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\superagent\lib\node\index.js:714:12)
    at Stream.emit (events.js:132:15)
    at Stream.emit (domain.js:421:20)
    at Unzip.<anonymous> (C:\Users\HERPDERP\AppData\Roaming\npm\node_modules\spotify-playlist-downloader\node_modules\superagent\lib\node\utils.js:120:12)
    at Unzip.emit (events.js:132:15)
    at Unzip.emit (domain.js:421:20)
    at endReadableNT (_stream_readable.js:1101:12)
    at process._tickCallback (internal/process/next_tick.js:152:19)

turbolego avatar Mar 16 '18 07:03 turbolego

same issue do u have a fix???

ayushzenith avatar May 14 '18 03:05 ayushzenith

Yes, Seeing that here too. CSRF is the Cross-Site Request Forgery token which Spotify have probably fairly recently introduced or changed.

jimb-cc avatar Jun 28 '18 09:06 jimb-cc

Exactly the same error here. Waiting a solution to test spotify-playlist-downloader.

riemerick avatar Jun 28 '18 18:06 riemerick

Still the same error here. Also waiting for a solution

arneschlag avatar Sep 14 '19 22:09 arneschlag

Same Error, waiting for a solution

EudrinoDev avatar Mar 18 '20 22:03 EudrinoDev

Same error, waiting for solution.

spencerthayer avatar Oct 05 '20 21:10 spencerthayer

Last update seven years ago …

vergissberlin avatar Dec 21 '21 21:12 vergissberlin