The error likely happens if you do the following: In order to fix the error in your AWS CLI, you need to verify if the profile configuration is still correct. You do that by checking the file and making sure the following SSO attributes are present in the profile: Login to the AWS Console via the root user or an IAM user that has permission to access the AWS account. Next, visit the IAM Identity…