Skip to content Skip to sidebar Skip to footer

How To Fix '"com.spotify.error.client_authentication_failed"

I'm making an Android app witch uses the spotify remote SDK. But it gives an error when connecting to the spotify server. The code is the same as the code of the example project of

Solution 1:

I had similar problem, here for more details.

You need to register your application to spotify dashboard. Go spotify dashboard and edit your project.

As mentioned here in offical document.

You also should add your package name and app fingerprint as they’re used to verify the identity of your application.

You can generate / get your fingerprint as referred in documentation.

MAC/Linux

keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore

Windows

keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore

When you have your fingerprint, you need to register to spotify dashboard and it should be okay.


Post a Comment for "How To Fix '"com.spotify.error.client_authentication_failed""