Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Uploaded file must be a non-empty zip #444

Open
fghorbel opened this issue Apr 4, 2024 · 2 comments
Open

"Uploaded file must be a non-empty zip #444

fghorbel opened this issue Apr 4, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@fghorbel
Copy link

fghorbel commented Apr 4, 2024

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 fghorbel changed the title "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)" "Uploaded file must be a non-empty zip Apr 4, 2024
@massi-ang massi-ang added the bug Something isn't working label Apr 9, 2024
@massi-ang
Copy link
Collaborator

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

@massi-ang massi-ang self-assigned this Apr 10, 2024
@gbone-restore
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants