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일 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠