Skip to content

Trying to deploy but get: RequestEntityTooLargeException: Request must be smaller than 69905067 bytes for the CreateFunction operation #123

Description

@cmhsu-cs

Hi,

I'm running this command: node-lambda deploy --functionName mediaTestLambda --handler app.handler --environment production --accessKey process.env.AWS_KEY --secretKey process.env.AWS_SECRET --region us-east-1 --configFile deploy.env --packageDirectory './application-name.zip'

but it keeps giving me this error: RequestEntityTooLargeException: Request must be smaller than 69905067 bytes for the CreateFunction operation

I already ran $ node-lambda package --packageDirectory './' successfuly, and it created an application-name.zip file in my root directory.

The app is rather small, so I don't think the size is the problem. Any help would be appreciated. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions