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
asked 9 months ago453 views
1 Answer
0
Accepted Answer

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
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions