spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Last.FM Error Authentication Failed - Android Client

Open debosmit-git opened this issue 9 months ago • 3 comments

Is there an existing issue for this? (Please read the description)

  • [x] I have searched the existing issues

Current Behavior

Image

Seeing this on entering correct credentials in Settings>Last.FM. Tried logging into last.fm app and website on the same device/network with the same credentials without any issue.

Expected Behavior

Should be logging in and continue scrobbling as before.

Steps to reproduce

  1. Open Last.FM Connect
  2. Enter Credentials
  3. Login

Logs

[2025-03-26 14:15:57.805659]---------------------

[LastFMException] => [Code 4]: Authentication Failed - You do not have permissions to access the service #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 SpaceShip.get (package:scrobblenaut/src/tools/spaceship.dart:70) #2 Request.send (package:scrobblenaut/src/core/request.dart:64) #3 SessionKeyGenerator.getSessionKey (package:scrobblenaut/src/core/session_key_generator.dart:37) #4 LastFM.authenticateWithPasswordHash (package:scrobblenaut/src/core/lastfm.dart:90) #5 ScrobblerNotifier.build.. (package:spotube/provider/scrobbler/scrobbler.dart:30) #6 AsyncValue.guard (package:riverpod/src/common.dart:178) #7 ScrobblerNotifier.build. (package:spotube/provider/scrobbler/scrobbler.dart:28)


[2025-03-26 14:15:57.819913]--------------------- [LastFMException] => [Code 4]: Authentication Failed - You do not have permissions to access the service #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 SpaceShip.get (package:scrobblenaut/src/tools/spaceship.dart:70) #2 Request.send (package:scrobblenaut/src/core/request.dart:64) #3 SessionKeyGenerator.getSessionKey (package:scrobblenaut/src/core/session_key_generator.dart:37) #4 LastFM.authenticateWithPasswordHash (package:scrobblenaut/src/core/lastfm.dart:90) #5 ScrobblerNotifier.build (package:spotube/provider/scrobbler/scrobbler.dart:73) #6 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)

Operating System

Android 15, March 2025 / Vivo iQOO Neo 7 Pro

Spotube version

v.4.0.2 Build 41

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • [ ] I'm ready to work on this issue!

debosmit-git avatar Mar 26 '25 09:03 debosmit-git

Exact same problem here, I recently changed my lastfm password and cannot login my lastfm accoun on spotube.

barbarbar338 avatar Apr 08 '25 22:04 barbarbar338

same problem here. Version: 5.0.0 build 42

Image

jont4 avatar Sep 17 '25 16:09 jont4

same problem here. Version: 5.0.0 build 42 Image

In this case it's not a bug, I used the account email as username. When I entered the account username, the login was successful.

jont4 avatar Sep 18 '25 14:09 jont4