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?

preguntada hace 2 años263 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas