Connecting to LastFM : Forbidden ?

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

Connecting to LastFM : Forbidden ?

Postby totoclectic » 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!
User avatar
totoclectic
 
Posts: 9
Joined: Mon Jan 03, 2011 10:55 pm
Location: Paris

Re: Connecting to LastFM : Forbidden ?

Postby shadow.8 » Sat Aug 09, 2014 2:49 pm

I haven't tested Last.fm in a while but I found this: http://www.last.fm/api/errorcodes It simply suggests to reauthorize. Have you tried logging into Last.fm and removing music cabinet from your applications then trying again?
676 artists
2,348 albums
26,738 songs
276.51 GB (~ 1,993 hours)
User avatar
shadow.8
 
Posts: 110
Joined: Wed Sep 26, 2012 12:12 am


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 16 guests