function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jay StreetJay Street 

Site Registration Error Custom Message

We have a custom site that allows customers/users to self-register. If the customer/user registers with a username that already exists in the org, a standard error alert is presented to them, 
 
"Your request cannot be processed at this time. The site administrator has been alerted."
 
This does not inform the customer/user of the problem that they are using a username that already exists. Is there a way to customize this message? Even better, is there a way to customize it without APEX code?
VinayVinay (Salesforce Developers) 
Hi Jay,

You would need to use custom page to handle the self-registration.  Kindly review limitation below.
https://issues.salesforce.com/issue/a028c00000qPxeDAAS/lightning-community-self-registration-generic-error-message-when-a-duplicate-username-is-created

Also check below references if you want to custom logic and create custom message
https://salesforce.stackexchange.com/questions/233328/custom-error-message-for-community-registration-configurable-self-registration
https://help.salesforce.com/s/articleView?id=sf.external_identity_self_registration_custom_error.htm&type=5

Please mark as Best Answer if above information was helpful.

Thanks,
Jay StreetJay Street
Thank you Vinay! I will check out those resources. I greatly appreciate your help!