Troubleshooting AWS API Gateway Proxy

0

I have this built an api using express js that I put on aws lambda. I am using aws api gateway to host the api, and so far it has been working so many time.

app.use('/user', userRoute);
export const handler = serverless(app);

Until today, when I wanted to deploy new api, I noticed slightly changes in the API Gateway interface and steps. I set up proxy resource as usual, so that I could use routes I set up in express js app. But once I deployed and tested on postman, it returns

{
    "message": "Internal server error"
}

I noticed that my previous api has been working fine except for this one I recently uploaded. Any Idea how to fix this? thank you.

1 Answer
0

Could you do a direct test in API Gateway towards that endpoint that's failing and share the log?

AWS
vtjean
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions