Anonymous log in using account manager

HI guys can any body help us we are getting the following error code msg on trying anonymous log in, but it works fine for existing account example registered user or admin please its stopping us for development.

AccountManager mAccount = AccountManager.getInstance(connection);
mAccount.sensitiveOperationOverInsecureConnection(true);
if (mAccount.supportsAccountCreation()) {
mAccount.createAccount(phone, phone, attr);

return true;
} else {
Log.e(“account”, “Cannot create account”);
return false;
}@

10-05 12:51:23.381: D/SMACK(4576): SENT (1): +919033312222+9190333122 22+919033312222aslamaslam

10-05 12:51:23.673: D/SMACK(4576): RECV (1): +919033312222+9190333122 22+919033312222aslamasl am

10-05 12:51:23.709: E/XMPP(4576): XMPPError: bad-request - modify

Message was edited by: Mohamed aslam,Ramanathan