Ethan Clark
Ethan Clark

Reputation: 126

How to upload lambda function via zip file?

I'm getting an error when I attempt to upload a .zip file that contains my lambda function: "Request-URI Too Long; The requested URL's length exceeds the capacity limit for this server."

What does this error mean? I can't find anything on it.

screenshot of error message

Upvotes: 0

Views: 1467

Answers (1)

Chenna V
Chenna V

Reputation: 10523

Try uploading from command line

aws lambda update-function-code --function-name "MyFunction" --zip-file "fileb://Users//Projects/Lambda/MyFunction.zip"

Upvotes: 1

Related Questions