My Oracle Support Banner

Oracle Identity Governance (OIG) Password Changes Fail With"IAM-3040012: The password change operation failed while validating old password." From "My Info" Page When There Are Leading/Trailing Spaces (Doc ID 2794949.1)

Last updated on FEBRUARY 01, 2023

Applies to:

Identity Manager - Version and later
Information in this document applies to any platform.


In the Oracle Identity Manager (OIM) Self Service console under the My Information page, old password validation fails if it contains leading and/or trailing spaces.

Example:  " <PASSWORD> "

The error '"IAM-3040012": The password change operation failed while validating old password' is seen in the User Interface.  The following error is also seen in the diagnostic logs:





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.