Internal Client Exception when user registers

The following code gives exception “Internal Client Exception (Message : " null”).

BackendlessUser user = new BackendlessUser();
                    user.setEmail(email);
                    user.setPassword(password);
                    try {
                        Backendless.UserService.register(user);
                    }
                    catch(Exception e)
                    {
                        Toast.makeText(getApplicationContext(),e.getMessage(),Toast.LENGTH_LONG).show();
                    }

I wrote Network Permissions:

 <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

I wrote following code at Application class:

        String appVersion = "v1";
        Backendless.initApp(this, "******************************", "*****************************, appVersion);

What can be the problem?

Please see the block marked as “Important” on the following page in the docs:

https://backendless.com/documentation/users/android/users_sync_and_async_api.htm

Regards,
Mark

I put following code in Thread and nothing new. still an error.

Backendless.UserService.register(user);

error code is 3040, email format is wrong. what is wrong with dfafa@gmail.com?

What is your app id?