When attempting to execute an Amazon Web Services (AWS) Lambda function (many times) we were seeing the error:
AWS Lambda TooManyRequestsE
I got this problem when I set Reserve concurrency below 100. And use aws-sdk
to send over 100 requests at a time.
In fact, When reserved concurrency is relatively low, any concurrency request over your concurrency setting (e.g. send 21 request when concurrency is 20) will throw out TooManyRequestsException
. I am not sure is my account problem or just as @nelsonic memtioned: default limit.
But when I increase my concurrency no less than 100, if not works, keep increasing, then problem solved. Hope this can help.