2 answers
Hi,Your registration page may be using an email address as the Username of the Salesforce user record. User names need to be unique, so registration will fail if the email address has already been used as the Username for another salesforce user id.And the reasons are listed below,The community is not published. In case you're working with a community that is offline or in Preview status, you need to publish the community before self-registration will work.The Account Owner does not have a User Role assigned. If you're creating a new Account record on the fly, especially in B2C situations, you need to make sure you assign a default account owner that also has a User Role value. Any role will do, and you can use either a workflow rule or Apex to perform the assignment.The site guest user does not have to Create and Read permissions on the Account and Contact objects. Edit Public Access Settings for the community's Force.com site to grant these permissions, along with field permissions for any fields that are included in the self-registration form. Note that by default the site's profile will not have these permissions.Self-registration is not enabled for the community. Go to Manage Communities, click Edit, and make sure the Login settings show that self-registration is enabled.I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.Thanks.