localstack-samples / localstack-samples/serverless-python-rest-api-with-dynamodb
Can't run all the different endpoints successfully
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 21
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
I was able to:
- list all the todo items
- create a todo item
However, I got 5xx errors when doing at least:
- update a todo item
- delete a todo item
- show a todo item (don't remember if I did or not)
I think the documentation might be old, as the curl commands don't work out-of-the-box after replacing the placeholder id with the actual id. So I used Postman instead, which included the application/json in the header and it worked for listing todos and creating todos.
It seems like the resources are provisioned correctly since todo items are stored and retrieved from dynamodb. However, the other ones wouldn't.
What could be the reason?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the update, delete, and show todo requests using the documented curl commands and Postman, comparing their headers and path parameters. Check the CRUD endpoint behavior and DynamoDB interactions to identify the source of the 5xx responses. Done means the cause is documented and the affected endpoints or curl examples work successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100