Cognito: VerifyUserAttribute 'email' responds with InternalServerError when using another email already in the pool

0

In our Cognito instance we define the 'email' as the username. We implemented a workflow, that the user should be able to change the email-address. When the user takes an email address already used in the pool and a valid Code. We get in InternalServerError. (See: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifyUserAttribute.html) My Expectation would be, that that there is an AliasExistsException. Can you verify, that this is a bug in Cognito?

posta 2 anni fa263 visualizzazioni
1 Risposta
0

This should be due to the AliasExistsException. Cognito's error handling is not complete or known to be very descriptive. While the error is not well described, this is not a bug per se, but rather poor description for error handling.

AWS
JMWare
con risposta 2 anni fa

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