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 個月前檢視次數 511 次
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
專家
已審閱 5 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南