# Serverless Deploy - Could not unzip uploaded file on AWS S3

**URL:** <https://forum.serverless.com/t/serverless-deploy-could-not-unzip-uploaded-file-on-aws-s3/10948>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [March 31, 2020, 2:31pm UTC](https://forum.serverless.com/t/serverless-deploy-could-not-unzip-uploaded-file-on-aws-s3/10948 "2020-03-31T14:31:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justan0therdave](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/justan0therdave/32/4092_2.png) [@justan0therdave](https://forum.serverless.com/u/justan0therdave)\
**Post date:** [March 31, 2020, 2:31pm UTC](https://forum.serverless.com/t/serverless-deploy-could-not-unzip-uploaded-file-on-aws-s3/10948/1 "2020-03-31T14:31:22Z")

</div>

I get the following message when trying to deploy - I’m using the command `serverless deploy --stage staging`.

What I don’t understand is, this worked in my production environment, why doesn’t it work here? The only difference I can tell is that my production runtime is nodejs8.10 and my staging runtime is nodejs10.x

Serverless Error ---------------------------------------

An error occurred: CustomDashresourceDashapigwDashcwDashroleLambdaFunction - Could not unzip uploaded file. Please check your file, then try to upload again. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 1a4eaea7-70f7-4960-adf4-ed8a1ad48a14)
