aws-genai-llm-chatbot icon indicating copy to clipboard operation
aws-genai-llm-chatbot copied to clipboard

"Uploaded file must be a non-empty zip

Open fghorbel opened this issue 10 months ago • 2 comments

Hello,

I received the error below when i ran the following command: npx cdk deploy

"Uploaded file must be a non-empty zip (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 210457af-99bd-4cc0-8152-e1 123c16a141; Proxy: null)" (RequestToken: 45a936e2-4133-c661-a746-613f3b695863, HandlerErrorCode: GeneralServiceException)

fghorbel avatar Apr 04 '24 21:04 fghorbel

Hi @fghorbel, can you provide some additional information on the steps you performed so that we can try to reproduce the issue?

massi-ang avatar Apr 09 '24 10:04 massi-ang

I was able to reproduce this issue on a fresh local install. I was able to work around by making some changes to the bundler code in /Users/gregbone/Development/aws-genai-llm-chatbot/lib/layer/index.ts. I changed line 21 to the following:

    const args = ["-t", "/asset-output/python"];

Let me know if this works for others and I can do a PR.

gbone-restore avatar Apr 24 '24 20:04 gbone-restore

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jun 24 '24 01:06 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Jul 24 '24 01:07 github-actions[bot]