based on your needs, I think this page lists all the errors that you might get when calling Auth.forgotPassword(). https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html