Start a new topic


When ever I try to sign up for new user I get this message on Android Console :

expected final value <username> but was <35a8dd2e-dfea-449a-b5c4-acbe7e2bcb1c> on username field in$AuthRequestPayload


Are you using the latest Kinvey SDK for Android (2.10.5). If not, can you try the same codebase with the latest SDK?

Are other Kinvey calls like ping, login etc working fine right now? Also, have you checked code snippets from for user sign-up?

In case that doesn't work, you can reply with relevant code snippets and I will take a look at it.



Kinvey Support

Yes ,I'm using the latest SDK and ping ,implicit login works fine.

Here is my code snippet 

String email = userEmailEditText.getText().toString();
String password = passwordEditText.getText().toString();
getKinveyClient().user().create(email, password, new KinveyUserCallback() {
public void onFailure(Throwable t) {

CharSequence text = "Could not sign up -> " + t.getMessage();
Toast.makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show();
Log.e(TAG, "Sign-up error", t);

public void onSuccess(User u) {
CharSequence text = "Welcome," + u.get("username") + ". Your account has been registered. Please login to confirm your credentials.";
u.put("email", u.get("username"));
u.put("firstname", userNameEditText.getText().toString());
u.put("lastname", userEmailEditText.getText().toString());

Toast.makeText(getApplicationContext(), text, Toast.LENGTH_LONG).show();

Login or Signup to post a comment