Hi,
I deployed a nestjs app to a lambda function but it never invoked successfully. Always showed me 502 internal server error.
I tested 'sam local start-apo', and it worked ok.
This app does not communicate to any other aws services, and no VPC was set up.
Tried api gateway and public function url, but both showed 502.
Here is the serverless.ts that defines the handler.
Here is the yaml file.
here is the log.
Please let me know if you need more information.
Thank you so much.
Chris
this issue has been solved. it's the MongoDB that was not connected properly.
ログインしていません。 ログイン 回答を投稿する。
優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。