AnomalyInnovations / serverless-stack-demo-client

Source for the demo app client in the Serverless Stack Guide
https://demo2.serverless-stack.com
MIT License
635 stars 204 forks source link

500 Error after ListAllNotes section #64

Closed townerhale closed 4 years ago

townerhale commented 4 years ago

Hi, So far everything has ran well and passed all the tests. I could upload my files as well and I see them in my DynamoDB. However, I am currently getting a 500 error when I load my page after implementing the renderNotesList function in Home.js. When inspecting and clicking on /prod url, it says ""error": "One or more parameter values were invalid: Condition parameter type does not match schema type"". I looked through the discourse and the only thing I could find was to check DynamoDB to make sure I have the correct attribute names, which I do. Any help is appreciated, Thanks.

townerhale commented 4 years ago

Instead of manually creating my DB, I redeployed my stack but used the DynamoDB yml file under resources and it fixed it.