Bug: incorrect error message using update-user-pool using aws cli

0

I called aws cognito-idp update-user-pool using the cli with the field TemporaryPasswordValidityDays in the PasswordPolicy and UnusedAccountValidityDays the AdminCreateUserConfig.

The error message was: An error occurred (InvalidParameterException) when calling the UpdateUserPool operation: Please use TemporaryPasswordValidityDays in PasswordPolicy instead of UnusedAccountValidityDays

I believe the actual error message should have been that UnusedAccountValidityDays cannot be set in AdminCreateUserConfig if TemporaryPasswordValidityDays is set in the PasswordPolicy as written here: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminCreateUserConfigType.html

Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande