serverless / serverless/examples

aws-node-rest-api-with-dynamodb receiving "Internal server error"

Open
#582 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.5k
Forks
4.4k
Avg merge
2h 55m
Merged PRs (30d)
3

Description

Hi, I've literally just copy pasted your code from aws-node-rest-api-with-dynamodb... however as soon as I do a request, I get:

{
"message": "Internal Server Error"
}

And no error is shown or logged... any idea? Have you set some config in particular to make this work? (idk, some permission on Dynamo or the Lambda or something like that)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with aws-node-rest-api-with-dynamodb/todos/list.js and reproduce the request using the example configuration. Inspect the AWS request and available logs to determine why it returns an internal server error. Done means identifying the required configuration or permission issue and documenting or correcting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript, node.js
Domain
api, backend, cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.