You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to recreate the client from a token stored in a file, i get the following error: kt com.adamratzman.spotify.SpotifyException$ReAuthenticationNeededException: Re-authentication is needed. at com.adamratzman.spotify.SpotifyApi.refreshToken(SpotifyApi.kt:221) at com.adamratzman.spotify.http.HttpRequest.execute(HttpRequest.kt:146) at com.adamratzman.spotify.http.HttpRequest$execute$1.invokeSuspend(HttpRequest.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702) Caused by: java.lang.IllegalStateException: The refreshTokenProducer is null. ... 9 more
To Reproduce
load a token via kt authorization = SpotifyUserAuthorization( tokenString = config!!.auth.token, refreshTokenString = config!!.auth.refreshToken )
Expected behavior
refreshTokenProducer to be prefilled
Desktop (please complete the following information):
OS: Windows 11
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to recreate the client from a token stored in a file, i get the following error:
kt com.adamratzman.spotify.SpotifyException$ReAuthenticationNeededException: Re-authentication is needed. at com.adamratzman.spotify.SpotifyApi.refreshToken(SpotifyApi.kt:221) at com.adamratzman.spotify.http.HttpRequest.execute(HttpRequest.kt:146) at com.adamratzman.spotify.http.HttpRequest$execute$1.invokeSuspend(HttpRequest.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702) Caused by: java.lang.IllegalStateException: The refreshTokenProducer is null. ... 9 more
To Reproduce
load a token via
kt authorization = SpotifyUserAuthorization( tokenString = config!!.auth.token, refreshTokenString = config!!.auth.refreshToken )
Expected behavior
refreshTokenProducer to be prefilled
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: