When I run sst dev and try to call a lambda function that has a linked dynamodb table using api gateway route, it will always crash with internal server error. Cloudwatch logs show that somekind of timeout happens. I have tried to restart the sst numerous times and have updated sst to the lastest 3.2.19. Everything works if I deploy the code normally to a stage but not in dev mode. Also lambdas without dynamodb link work without problems.
If I create route without dynamodb link it will work on dev mode without problems. This issue didn't appear in version 3.1.51 but at least with versions >= 3.1.67 it happens.
When I run sst dev and try to call a lambda function that has a linked dynamodb table using api gateway route, it will always crash with internal server error. Cloudwatch logs show that somekind of timeout happens. I have tried to restart the sst numerous times and have updated sst to the lastest 3.2.19. Everything works if I deploy the code normally to a stage but not in dev mode. Also lambdas without dynamodb link work without problems.
The table and gateway is defined like this:
If I create route without dynamodb link it will work on dev mode without problems. This issue didn't appear in version 3.1.51 but at least with versions >= 3.1.67 it happens.