SpotifyAPI.Web.APIException: invalid_grant
Source: SpotifyAPI.Web
TargetAssembly: SpotifyAPI.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
TargetModule: SpotifyAPI.Web.dll
TargetSite: Void ProcessErrors(SpotifyAPI.Web.Http.IResponse)
at SpotifyAPI.Web.Http.APIConnector.ProcessErrors(IResponse response)
at SpotifyAPI.Web.Http.APIConnector.DoRequest(IRequest request)
at SpotifyAPI.Web.Http.APIConnector.DoSerializedRequest[T](IRequest request)
at SpotifyAPI.Web.Http.APIConnector.SendAPIRequest[T](Uri uri, HttpMethod method, IDictionary`2 parameters, Object body, IDictionary`2 headers)
at Flow.Launcher.Plugin.SpotifyPremium.SpotifyPluginClient.ConnectWebClient(Boolean keepRefreshToken) in C:\Users\fpwal\Repos\Flow.Launcher.Plugin.SpotifyPremium\SpotifyPluginClient.cs:line 263
at Flow.Launcher.Plugin.SpotifyPremium.SpotifyPlugin.ReconnectAsync(Boolean keepRefreshToken) in C:\Users\fpwal\Repos\Flow.Launcher.Plugin.SpotifyPremium\SpotifyPlugin.cs:line 519
at Flow.Launcher.Plugin.SpotifyPremium.SpotifyPlugin.QueryAsync(Query query, CancellationToken token) in C:\Users\fpwal\Repos\Flow.Launcher.Plugin.SpotifyPremium\SpotifyPlugin.cs:line 101
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 194
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 193
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: invalid_grant
Source: Flow.Launcher.Core
TargetAssembly: Flow.Launcher.Core, Version=1.15.0.0, Culture=neutral, PublicKeyToken=null
TargetModule: Flow.Launcher.Core.dll
TargetSite: Void MoveNext()
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 213
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass135_0.<<QueryResults>g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 826
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 800
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Issue Description
When launching Flow Launcher to open Spotify, I get the below error message.
Functionality Affected
Please mark the functionality of the plugin that is affected by the issue:
Software Versions
Please fill in the following information:
Spotify client version (
Help > About Spotify
): Spotify for Windows (64 bit) 1.2.26.1187.g36b715a1Flow Launcher version (
Flow Settings > About
): Flow Launcher version: 1.15.0 OS Version: 22635.2915 IntPtr Length: 8 x64: TruePlease also make sure you're running the latest version of Flow.Launcher.Plugin.SpotifyPremium
Logfile created by Flow Launcher:
11:04:48.1303+01:00 - FATAL - UnHandledException -
Exception
Environment
Assemblies - Flow.Launcher