Skip to content

Register Error "There was an unexpected error, please try again later." #35

@truongnguyenptit

Description

@truongnguyenptit

In Android show message "There was an unexpected error, please try again later." but on dashboard account already exist.
This is my code:

RegistrationForm registrationData = new RegistrationForm(MyPreference.getUserEmail(context), password);
registrationData.setGivenName(MyPreference.getFirstName(context))
.setSurname(MyPreference.getLastName(context));
Stormpath.register(registrationData, new StormpathCallback() {
@OverRide
public void onSuccess(Void aVoid) {
mView.setLoading(false);
mView.registerSuccess();
}

        @Override
        public void onFailure(StormpathError error) {
                mView.registerFailure(error.status(), error.message());
            mView.setLoading(false);
        }
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions