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

DynamoDB usage examples Please #85

Open
rossyell opened this issue Mar 27, 2022 · 1 comment
Open

DynamoDB usage examples Please #85

rossyell opened this issue Mar 27, 2022 · 1 comment

Comments

@rossyell
Copy link

Much appreciate this pack of nodes. I am interfacing to AWS dynamoDB and have some nodes, i.e the scan node working well. I am however battling to get the get GetItem or Query nodes working - and think it has something to do with the way I am passing the parameters to your node. Typical errors are "SyntaxError: Unexpected token c in JSON at position 2" for Getitem and "failed: ValidationException: Either the KeyConditions or KeyConditionExpression parameter must be specified in the request. " for Query.

I have read extensively but am just not getting it right. Are you able to expand your usage instructions with some examples of use.

@jeanmichel-nwsb
Copy link

Without providing more details on what parameters leads to those errors, it may be difficult to help
But for example with GetItem, it was not obvious but you must follow strictly the syntax of the Key
for example { "somefield": "somevalue" } will not work but must be { "somefield": { "S": "somevalue" }
See the description of GetItem in AWS docs
Testing your parameters using AWS cli may be usefull too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants