User login give 'rate exceeded' error
See original GitHub issueHello,
I am trying to setup a login via aws-amplify/auth in a react/JS app. I have this line in my code, which is activated on a ‘login’ button click.
await Auth.signIn(this.state.email, this.state.password);
Yesterday, this line worked fine. But when I got to the office this morning (having not touched the code or tried to log in for over 10 hours) I get this error when hitting the login button:
{code: "TooManyRequestsException", name: "TooManyRequestsException", message: "Rate exceeded"}
I am the only user on the userpool behind this request (in fact, the only user of the entire AWS account) so I can’t figure out why the rate is being exceeded. Trying to log in once every 10 hours must be OK, right?
Does anyone know what could be happening here? I probably forgot to click the logout button yesterday, could that cause the problem? If so, how to get around it in the code (I presume lots of users will forget to logout)?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
@luliandro No, I have had no response from AWS at all. Neither, as far as I can see, has anyone else. Pretty poor customer service. But it definitely isn’t a problem with amplify-js, hence why I closed this issue.
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels or Discussions for those types of questions.