-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error description could be more precise when resetting password several times on a row #83
Comments
Not sure if this is your job but.. Also tested the password update functionality too. Updating the password with several times on a row does not give any error for the user. In my opinion user should be informed with appropriate error text. Used Amplify.Auth.update(oldPassword: xxx, to: xxx) to update password. Log: |
Hi @merbula, thanks for opening this issue. Regarding your first question, could you please enable verbose logging (by adding Regarding your second question, the Authenticator doesn't really support the update password flow, so I was wondering how you are testing it. |
My apologies, forgot to add log in my first question. Here is something: Failed execution for Auth.resetPasswordAPI with error: Like you said, there is not default error text specified so it is giving the unknown text. |
The Authenticator only ships with messages for the most common errors, as you can see here. However since this is a known Cognito error, the Authenticator allows you to define a custom error message by having a key with the format For this particular example, it would be: "authenticator.cognitoError.limitExceeded" = "You've reached the limit of requests. Please wait a couple of minutes and try again"; |
Yes, i have seen those common errors. But is there a list available for the all possible Cognito errors? This .limitExceeded came out of the bushes. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Hi,
When user resets the password several times on a row, following error is given: "Sorry, something went wrong".
The error description should be more instructive for the user.
I´m calling functions resetPassword() and confirmResetPassword() from custom UI´s.
Thanks!
The text was updated successfully, but these errors were encountered: