ValidationException: 'MemorySize' value failed to satisfy constraint: Member must have value less than or equal to 3008 code

0

Getting this error message even though i have used only 512MB as memory size in the configuration. I am using artillery io for load testing my api endpoints. To run my script i used : artillery run test.yml --platform aws:lambda --platform-opt region=us-east-1

resp.error = util.error(new Error(), error); ^ ValidationException: 'MemorySize' value failed to satisfy constraint: Member must have value less than or equal to 3008 code: 'ValidationException', time: 2023-07-20T17:21:32.750Z, requestId: '2e4bc998-b082-4bff-8567-1815466cb022', statusCode: 400, retryable: false, retryDelay: 73.1561075646177

Stuck for 2 days with this error message. Please help

Bibu
已提问 10 个月前510 查看次数
1 回答
1
已接受的回答

Your account seems to have a lower quota limit than the standard which would imply it is a new account as documented here: https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html

You can view the specific quotas for your account here: https://us-east-1.console.aws.amazon.com/servicequotas/home/services/lambda/quotas

Because you are seeing this error when performing load testing, I am guessing that the lambda may be running into some sort of concurrency limit. You can check your concurrency limit through the quotas link above by clicking on the "Concurrent Executions" quota. To increase the limit, please open a support case from your AWS account.

Enter image description here

profile pictureAWS
已回答 10 个月前
profile picture
专家
已审核 4 天前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则