Oracle Error ORA-28389: cannot close auto login wallet

Oracle Error Message

ORA-28389: cannot close auto login wallet

Reason for the Error

Auto login wallet could not be closed because it was opened with another wallet or HSM requiring a password.

Solution

Close the wallet or HSM with a password.