-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connectToSpotifyRemote fails when providing access token #131
Comments
@dhcracchiolo I can't reproduce your issue. Which version of the package are you using? Try using the latest from master. Would also be nice if you could provide some code that demonstrates the issue. |
Hey I have the same problem. When i try to connect with a token i got only a few minutes before i get the following error:
|
what you are facing is most likely a native SDK issue. Does restarting the Spotify app fix the issue? |
Closing due to lack of feedback. If the issue persists please report back. |
I'm having the same problem, basically If I get the access token using my api calls on the backend, instead of using your method, I can't pass the access token to "connectToSpotifyRemote" because it throws that error. And so I can't connect silently. |
I'm also getting this error. Yes, restarting the spotify app fixes the issue. If I call
any attempt to use
|
Any update 2024? Library a little abandoned? |
Did anyone ever verify that the same issue does not happen with the native iOS SDK? Until this is crosschecked and verified this cannot be considered an issue with this library. Ideally someone should submit both:
|
have the same issue, steps to reproduce:
However, if I use getAccessToken after the last error, disconnect, and then connectToSpotifyRemote with my previously saved access token on the first step, then it works. If you press pause again and wait for 10-30 seconds, it will disconnect with an error message again. UPDATE: |
Describe the bug
SpotifySdk.connectToSpotifyRemote fails to connect to spotify and throws several errors when I provide an access token. I know the token is valid as I just got it from a request under an hour ago. When I call connectToSpotifyRemote in the exact same place without an access token it works just fine.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
SpotifySdk to let me reuse my access token.
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: