Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnexpectedParameter: Unexpected key 'TimeToLiveSpecification' found in params #130

Closed
jseppi opened this issue May 19, 2020 · 4 comments
Closed

Comments

@jseppi
Copy link

jseppi commented May 19, 2020

When I try to use the TimeToLiveSpecification Property, I get this error during creation:

/Users/jamesseppi/CODE/<project>/node_modules/aws-sdk/lib/request.js:31
            throw err;
            ^

UnexpectedParameter: Unexpected key 'TimeToLiveSpecification' found in params
    at ParamValidator.fail (/Users/jamesseppi/CODE/<project>/node_modules/aws-sdk/lib/param_validator.js:50:37)
...

Does TimeToLiveSpecification need to be added to a validator?

@mhart
Copy link
Collaborator

mhart commented May 19, 2020

That error looks like it's coming from the aws-sdk?

@bwitt
Copy link
Contributor

bwitt commented May 19, 2020

I thought dynalite didn't support TTL #103 ?

@mhart
Copy link
Collaborator

mhart commented May 19, 2020

It doesn't – but the error the poster is referring to is coming from validation in the aws-sdk – it's got nothing to do with this library

@jseppi
Copy link
Author

jseppi commented May 20, 2020

@mhart: Apologies; this is definitely an issue in aws-sdk. The TimeToLiveSpecification is not supported for some reason in createTable (ref).
Thank you for your speedy responses, and for this module!

@jseppi jseppi closed this as completed May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants