"The request was rejected because the type of user for the transaction was incorrect" is received when changing AWS IAM account password
83
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 13:01 PM
Objective
When trying to change password for AWS IAM account, it fails with the following error seen in CPM's third party log:
Info -> Change :: changepass() -> Start
ERROR -> BaseAction :: handleException() -> Got Amazon.IdentityManagement.Model.InvalidUserTypeException message = Only IAM Users can change their own password.
ERROR -> BaseAction :: handleException() -> The request was rejected because the type of user for the transaction was incorrect
Info -> Change :: changepass() -> End
Info -> Change :: changepass() -> Start
ERROR -> BaseAction :: handleException() -> Got Amazon.IdentityManagement.Model.InvalidUserTypeException message = Only IAM Users can change their own password.
ERROR -> BaseAction :: handleException() -> The request was rejected because the type of user for the transaction was incorrect
Info -> Change :: changepass() -> End
Environment
10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10
Procedure
Ensure the associated logon account (Access Key ID) belongs to the IAM user account.
Additional Information
Details
|
SYMPTOM:
When trying to change password for AWS IAM account, it fails with the following error seen in CPM's third party log:
Info -> Change :: changepass() -> Start
ERROR -> BaseAction :: handleException() -> Got Amazon.IdentityManagement.Model.InvalidUserTypeException message = Only IAM Users can change their own password.
ERROR -> BaseAction :: handleException() -> The request was rejected because the type of user for the transaction was incorrect
Info -> Change :: changepass() -> End
PROBLEM:
The associate logon account (Access Key ID) for the IAM user account is incorrect.
SOLUTION:
Ensure the associated logon account (Access Key ID) belongs to the IAM user account.
|