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
preguntada hace 10 meses511 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
respondido hace 10 meses
profile picture
EXPERTO
revisado hace 5 días

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas