Open musubipapi opened 2 months ago
I have the same issue
Not sure if it is the same thing, but I was getting a similar error which cleared after restarting sst dev
:
| fetch failed
| ↳ at node:internal/deps/undici/undici:12502:13
| ↳ at async file:///home/chrisandrew/workspace/project/.sst/platform/dist/nodejs-runtime/index.js:51:2
I have the same issue. Can't invoke anymore.
Error I'm getting when running
sst dev
on a POST multipart form lambda usingAPIGatewayV2
After investigating a bit further the issue comes from the
.json()
returning anUnexpected token... invalid JSON etc etc
. inside of the sstnodejs-runtime/index.js
It looks like the result's body from
AWS_LAMBDA_RUNTIME_API
is fetching an incomplete response/response that's cut off (~100kb mark)Example response:
My guess is there's some kind of data body size limit at ~100kb when running
sst dev