Missing required key 'Key' in params
See original GitHub issueIm 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:
- Created 9 years ago
- Comments:18 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

So by adding the
dest: '/'worked…!(I have another issue though, that I’ll file it separately)
Glad to help.