Connecting to LastFM : Forbidden ?
Posted: Sat Aug 09, 2014 10:43 am
Hello,
I using Music Cabinet and I have some error when I configure an user's lastfm credentials.
API key is ok and I'm able to authorize the application, but it seems that the session key isn't received by the callback.
Here's the error :
Exception : om.github.hakko.musiccabinet.exception.ApplicationException
Message : Could not get session key for user! (code 403, Forbidden)
Here's the log :
[2014-08-09 12:08:23,864] DEBUG LastFmSettingsController - token = 82d196409ce0de93872e64ef925e934
[2014-08-09 12:08:23,864] DEBUG LastFmSettingsController - lastFmUsername = null, sessionKey = null
[2014-08-09 12:08:12,208] DEBUG LastFmSettingsController - callback url = http://XX.XX.XX.XX:4040/lastFmSettings.view
[2014-08-09 12:08:12,207] DEBUG LastFmSettingsController - Prepare data for last.fm auth.
I'm running out of ideas on how to fix this permission issue.. Has anyone got one ?
Thanks!
I using Music Cabinet and I have some error when I configure an user's lastfm credentials.
API key is ok and I'm able to authorize the application, but it seems that the session key isn't received by the callback.
Here's the error :
Exception : om.github.hakko.musiccabinet.exception.ApplicationException
Message : Could not get session key for user! (code 403, Forbidden)
Here's the log :
[2014-08-09 12:08:23,864] DEBUG LastFmSettingsController - token = 82d196409ce0de93872e64ef925e934
[2014-08-09 12:08:23,864] DEBUG LastFmSettingsController - lastFmUsername = null, sessionKey = null
[2014-08-09 12:08:12,208] DEBUG LastFmSettingsController - callback url = http://XX.XX.XX.XX:4040/lastFmSettings.view
[2014-08-09 12:08:12,207] DEBUG LastFmSettingsController - Prepare data for last.fm auth.
I'm running out of ideas on how to fix this permission issue.. Has anyone got one ?
Thanks!