Skip to content

{"message":"ACCOUNTS_INVALID_APP_ID:INVALID_REQUEST: Invalid app identifier (iOS Bundle ID, Android Key Hash)"} #378

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

Open
IUV1010 opened this issue Mar 13, 2025 · 0 comments

Comments

@IUV1010
Copy link

IUV1010 commented Mar 13, 2025

'com.spotify.android:auth:2.0.1'
spotify-app-remote-release-0.8.0.aar

public void connect(boolean showAuthView) {
        SpotifyAppRemote.disconnect(mSpotifyAppRemote);
        SpotifyAppRemote.connect(
                MainApplication.getContext(),
                new ConnectionParams.Builder(CLIENT_ID)
                        .setRedirectUri(REDIRECT_URI)
                        .showAuthView(showAuthView)
                        .build(),
                new Connector.ConnectionListener() {
                    @Override
                    public void onConnected(SpotifyAppRemote spotifyAppRemote) {
                        mSpotifyAppRemote = spotifyAppRemote;
                        Log.d(TAG, "connect : " + spotifyAppRemote.isConnected());
                        onSubscribedToPlayerState();
                    }

                    @Override
                    public void onFailure(Throwable error) {
                        logError(error);
                    }
                });
}

I have confirmed that the Android packages and SHA1 in the Dashboard match, and the SHA1 values are in uppercase. My project has only one keystore, which is used for both release and debug builds. The Client ID in the app also matches the ID in the Dashboard. However, I still keep getting this error. The SHA1 is obtained through ./gradlew signingReport.

I can now retrieve the token and user information, but I still can't connect to Spotify Music successfully.

Thanks for your response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant