While validating request form fields during self-registration if there is an exception, the error message will be appended by the text “Localized message not available. Error returned is: “ by default.
This happens when we throw exception in the code and the error code is not defined. The request handler assumes IAM-0120023 as the default error code in this case.
If there is a requirement to remove this text that gets appended from the error message pop up, you can perform the following steps:
Stop the OIM Managed Server
Take the backup of oracle.iam.ui.view.war and oracle.iam.ui.model.ear under Oracle_IAM1/server/apps
Search for the text “Localized message not availale” from the below files and remove it:
Clear /cache and /tmp directories under /apps/domains/oimDomain/servers/oim_server1
Start the OIM managed server
Provision App Instance and test your validations. The error message should show up without the text “Localized message not available”