question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing required key 'Key' in params

See original GitHub issue

Im getting a missing key ‘key’ error when attempting to upload to s3. In the AWS SDK release notes it mentions this as a validation error. https://aws.amazon.com/releasenotes/JavaScript/6967335344676381

The Error

MissingRequiredParameter: Missing required key 'Key' in params

My Config

          stage: {
            options: {
              bucket: 'my_s3_bucket',
              differential: true,
              params: {
                key: '',
                CacheControl: '3000'
              }
            },
            files: [
              {src: ['dist/**'], cwd: '', action: 'upload'},
            ]
          },

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Mar 19, 2015

So by adding the dest: '/' worked…!

(I have another issue though, that I’ll file it separately)

0reactions
crisu83commented, Mar 19, 2015

Glad to help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Missing required key 'Key' in params" in Get operation of ...
The error I am getting is : "message": "Missing required key 'Key' in params", "code": "MissingRequiredParameter",. I know the resolution of the ...
Read more >
[Solved] missing required key 'key' in params dynamodb
This error occurs when the Key attribute has not been provided for the DynamoDB operation. For example, the GetItem or Get (in document...
Read more >
Missing required key 'Key' in params · Issue #125 - GitHub
const AWS = require('aws-sdk'); var docClient = new AWS.DynamoDB.DocumentClient(); var tableName = "TravBudgInfoDB"; exports.handler ...
Read more >
Missing required key 'Bucket' in params - Seed.run
Serverless Framework creates an S3 bucket to store the deployment artifacts for your Serverless application. This error usually happens if the first serverless ......
Read more >
Missing required key 'FunctionName' in params - Defender
I am experiencing an issue in which a contract call ends up returning an AWS lambda related Error. C) the address for OpenQ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found