"Wrong social identity for user account" when trying to Login with Facebook

Hello,
i’ve been having this Fault message recently while trying to login with Facebook from my Android App.
It was working fine but suddenly all logged in users with Facebook account from an Android device received this message.
Logging in from an iOS device works fine.
I haven’t changed anything within my code in order to invoke this error.
I need to know the source of it.
Help please!
Sincerely,
Ralph

please provide code that we can use to reproduce the problem. That code should be…

Minimal – Use as little code as possible that still produces the same problem
Complete – Provide all parts needed to reproduce the problem
Verifiable – Test the code you’re about to provide to make sure it reproduces the problem

public void onLoginWithFacebookButtonClicked() {
Map<String, String> facebookFieldsMapping = new HashMap<>();
facebookFieldsMapping.put( “name”, “name” );
facebookFieldsMapping.put( “email”, “email” );
facebookFieldsMapping.put( “id”, “facebookId” );

List&lt;String&gt; facebookPermissions = new ArrayList&lt;&gt;();
facebookPermissions.add( "email" );
facebookPermissions.add( "public_profile" );

Backendless.UserService.loginWithFacebook( Login.this, null, facebookFieldsMapping, facebookPermissions, new LoadingCallback&lt;BackendlessUser&gt;( Login.this ) {
    @Override
    public void handleResponse( BackendlessUser backendlessUser ) {
        startActivity( new Intent( getBaseContext(), CompleteProfileActivity.class ) );
        PrefUtils.saveToPrefs(Login.this, PrefUtils.PREFS_LOGIN_IDFACEBOOK_KEY, "Yes");
        finish();
    }

    @Override
    public void handleFault(BackendlessFault fault) {Toast.makeText(Login.this,fault.getMessage(),Toast.LENGTH_LONG).show();}
},true );

}This is the code that hasn’t been changed lately.Could it be a problem caused by the registration to Backendless User table?

I have created internal ticket to investigate this issue BKNDLSS-13113

I’ve run into the same issue on iOS.

Hi Elena,
The original issue was with the Android SDK. Since this is technically a different problem, could you please open a new topic?

Regards Ilya

Hi Ilya,

I’ve opened a separate topic on this issue.

The fix will be available later on this week.

Facing the same issue. A fix as soon as possible will be highly appreciated.

we have upgraded server side. please check if you still have this issue