mifi / cognito-backup

CLI for backing up AWS Cogntito User Pools
MIT License
154 stars 26 forks source link

TooManyRequestsException: Rate exceeded #6

Closed ronnieguha closed 6 years ago

ronnieguha commented 6 years ago

Since I am trying to import about 500 users, I end up hitting this issue. Any chance that a backoff can be implemented, or any way to batch functions? What I end up with is about 80 users created and unless I delete all users, I cannot re-run this..

mifi commented 6 years ago

I have published a new version 2.0.0 now that will throttle requests to 5 per second, which should be within the limits.

Ps as of 2.0.0 requires at least node 8. Reopen if still an issue