You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using aws-sdk V3 for nodeJs is not working with Lambda.
When running the next code:
const client_ = new LambdaClient({ endpoint: 'http://localhost:5000'});
const res = await client_.send(new ListFunctionsCommand());
The following exception is raised:
404: UnknownError
at throwDefaultError (~\dev\project\core\node_modules\.pnpm\@smithy+smithy-client@3.4.5\node_modules\@smithy\smithy-client\dist-cjs\index.js:836:20)
at ~\dev\project\core\node_modules\.pnpm\@smithy+smithy-client@3.4.5\node_modules\@smithy\smithy-client\dist-cjs\index.js:845:5
at de_CommandError (~\dev\project\core\node_modules\.pnpm\@aws-sdk+client-lambda@3.699.0\node_modules\@aws-sdk\client-lambda\dist-cjs\index.js:3917:14)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at ~\dev\project\core\node_modules\.pnpm\@smithy+middleware-serde@3.0.10\node_modules\@smithy\middleware-serde\dist-cjs\index.js:35:20
at ~\dev\project\core\node_modules\.pnpm\@smithy+core@2.5.4\node_modules\@smithy\core\dist-cjs\index.js:168:18
at ~\dev\project\core\node_modules\.pnpm\@smithy+middleware-retry@3.0.28\node_modules\@smithy\middleware-retry\dist-cjs\index.js:320:38
at ~\dev\project\core\node_modules\.pnpm\@aws-sdk+middleware-logger@3.696.0\node_modules\@aws-sdk\middleware-logger\dist-cjs\index.js:34:22
at main (~\dev\project\core\tools\src\get-aws-lambda\main.ts:18:21)
at processMain (~\dev\project\core\bl\src\processMain.ts:33:24)
The text was updated successfully, but these errors were encountered:
Using aws-sdk V3 for nodeJs is not working with Lambda.
When running the next code:
The following exception is raised:
The text was updated successfully, but these errors were encountered: