{"action":"created","issue":{"url":"https://api.github.com/repos/TooTallNate/node-spotify-web/issues/87","labels_url":"https://api.github.com/repos/TooTallNate/node-spotify-web/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/TooTallNate/node-spotify-web/issues/87/comments","events_url":"https://api.github.com/repos/TooTallNate/node-spotify-web/issues/87/events","html_url":"https://github.com/TooTallNate/node-spotify-web/issues/87","id":33994541,"number":87,"title":"Login not working","user":{"login":"bowilliams","id":878792,"avatar_url":"https://avatars.githubusercontent.com/u/878792?v=3","gravatar_id":"","url":"https://api.github.com/users/bowilliams","html_url":"https://github.com/bowilliams","followers_url":"https://api.github.com/users/bowilliams/followers","following_url":"https://api.github.com/users/bowilliams/following{/other_user}","gists_url":"https://api.github.com/users/bowilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/bowilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowilliams/subscriptions","organizations_url":"https://api.github.com/users/bowilliams/orgs","repos_url":"https://api.github.com/users/bowilliams/repos","events_url":"https://api.github.com/users/bowilliams/events{/privacy}","received_events_url":"https://api.github.com/users/bowilliams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":82,"created_at":"2014-05-21T15:36:55Z","updated_at":"2015-01-11T09:47:57Z","closed_at":"2014-12-11T19:57:30Z","body":"Starting this morning, I'm not able to login. I've tried several accounts (all premium). \r\n\r\n``` js\r\nconsole.log('about to login');\r\nSpotify.login(login.username, login.password, function (err, spotify) {\r\n  console.log('logged in');\r\n```\r\n\r\nNever gets to logged in- it either hangs at about to login, or I get this error:\r\n\r\n```\r\nTypeError: Cannot read property 'version' of undefined\r\n    at Spotify._resolveAP (/Users/bwilliams/repos/prosecco/local_spotify_player/node_modules/spotify-web/lib/spotify.js:306:50)\r\n    at Spotify._onauth (/Users/bwilliams/repos/prosecco/local_spotify_player/node_modules/spotify-web/lib/spotify.js:294:10)\r\n    at Request.callback (/Users/bwilliams/repos/prosecco/local_spotify_player/node_modules/spotify-web/node_modules/superagent/lib/node/index.js:584:30)\r\n    at Request.<anonymous> (/Users/bwilliams/repos/prosecco/local_spotify_player/node_modules/spotify-web/node_modules/superagent/lib/node/index.js:133:10)\r\n    at Request.EventEmitter.emit (events.js:117:20)\r\n    at IncomingMessage.<anonymous> (/Users/bwilliams/repos/prosecco/local_spotify_player/node_modules/spotify-web/node_modules/superagent/lib/node/index.js:714:12)\r\n    at IncomingMessage.EventEmitter.emit (events.js:117:20)\r\n    at _stream_readable.js:920:16\r\n    at process._tickCallback (node.js:415:13)\r\n```"},"comment":{"url":"https://api.github.com/repos/TooTallNate/node-spotify-web/issues/comments/69488819","html_url":"https://github.com/TooTallNate/node-spotify-web/issues/87#issuecomment-69488819","issue_url":"https://api.github.com/repos/TooTallNate/node-spotify-web/issues/87","id":69488819,"user":{"login":"Watiswat","id":10147232,"avatar_url":"https://avatars.githubusercontent.com/u/10147232?v=3","gravatar_id":"","url":"https://api.github.com/users/Watiswat","html_url":"https://github.com/Watiswat","followers_url":"https://api.github.com/users/Watiswat/followers","following_url":"https://api.github.com/users/Watiswat/following{/other_user}","gists_url":"https://api.github.com/users/Watiswat/gists{/gist_id}","starred_url":"https://api.github.com/users/Watiswat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Watiswat/subscriptions","organizations_url":"https://api.github.com/users/Watiswat/orgs","repos_url":"https://api.github.com/users/Watiswat/repos","events_url":"https://api.github.com/users/Watiswat/events{/privacy}","received_events_url":"https://api.github.com/users/Watiswat/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T09:47:57Z","updated_at":"2015-01-11T09:47:57Z","body":"@giacecco thanks, problem solved!"}}