There is something confusing.
Even though API Gateway is returning 500 status code, the debug session doesnt seem so.
Here is the terminal output vs VS Code Rest Client
Ömer Toraman
10/24/2021, 2:48 AM
By the way I’m not logging anything, I guess sst is logging the request and response for me
f
Frank
10/24/2021, 3:19 AM
Could it be that the Lambda function took long to run locally? And the API Gateway request timed out in the mean while?