0

In AWS Lambda, While updating the lamba function i am gettting the error like botocore.errorfactory.InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the UpdateFunctionCode operation: Unzipped size must be smaller than 262144000 bytes. Basically i am pushed the code to git repo and after that updating the lambda function through shell script to reflect the update the code into aws lambda.

But it is showing the above error. Can you please anyone help me for this issue.

user 98
  • 167
  • 2
  • 12
  • Does this answer your question? [AWS Lambda Error: Unzipped size must be smaller than 262144000 bytes](https://stackoverflow.com/questions/45342990/aws-lambda-error-unzipped-size-must-be-smaller-than-262144000-bytes) – JonSG Jan 10 '22 at 19:30
  • I tried that solution also. But it’s still showing the same error – user 98 Jan 11 '22 at 04:40

1 Answers1

0

aws lambda limit the code of 250M

so, if your code is totally bigger than 250M, then you can use docker image to release your lambda function.

baozilaji
  • 304
  • 1
  • 10