spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Authentication error 400

Open Patrick010 opened this issue 9 months ago • 59 comments

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

  • [x] I have searched the existing issues

Current Behavior

I'm experiencing an Authentication error 400 when I start up Spotube. Everything seems to be working properly, except the bulk downloading of Spotify Playlists. And because this is the main reason for me to use Spotube to begin with, I find it a rather annoying one ;)

I run 4.0.0 on Win10

Is this a known issue?

Image

Expected Behavior

The app running without this error and the playlist download option in working order

Steps to reproduce

The error shows on start up

Logs

[2025-03-14 12:17:44.015229]--------------------- DioException [bad response]: This exception was thrown because the response has a status code of 401 and RequestOptions.validateStatus was configured to throw for this status code. The status code of 401 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled" Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) #1 CustomSpotifyEndpoints.getFriendActivity (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:113) #2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-03-14 12:17:44.430059]--------------------- FormatException: Invalid number (at character 1)

^

#0 int._handleFormatError (dart:core-patch/integers_patch.dart:135) #1 int.parse (dart:core-patch/integers_patch.dart:53) #2 ServiceUtils.checkForUpdates (package:spotube/utils/service_utils.dart:353)

Operating System

Windows 10

Spotube version

v4.0.0

Installation source

Website (spotube.krtirtho.dev), GitHub Releases (Binary)

Additional information

No response

Self grab

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

Patrick010 avatar Mar 14 '25 11:03 Patrick010