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

[BUG] Published API causes unhandle exceptions for larger message map #708

Open
jessieweiyi opened this issue Feb 3, 2025 · 1 comment
Labels
bug Something isn't working needs investigation Bug but cause is not identified.

Comments

@jessieweiyi
Copy link
Contributor

🚨 Please Note 🚨

To ensure efficient investigation of the issue, please fill out the fields below with as much detail as possible. Reports that do not follow this template may be closed without notification. We appreciate your cooperation.

🐞Describe the bug

When using the published API and the message map is too large, it will cause the sqs consumer lambda (SqsConsumeHandler) unhandled exception and terminate.

See the screenshot below.

🔄 To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

📷 Screenshots

If applicable, add screenshots to help explain your problem.

Image

🔎 Logs for Chat Issues

If the issue occurs during a chat interaction, please check the following logs on Amazon Cloudwatch Logs and include the relevant entries in your issue:

  • /aws/lambda/BedrockChatStack-BackendApiHandlerXXXX
  • /aws/lambda/BedrockChatStack-WebSocketHandlerXXXX

🔎 Logs for Bot Creation/Update Issues

If the issue occurs during bot creation or updating, please check the execution records of the AWS Step Functions state machine named EmbeddingStateMachineXXX and include the details in your issue.

📝 Additional context

Add any other context about the problem here.

@statefb statefb added bug Something isn't working needs investigation Bug but cause is not identified. and removed needs-triage labels Feb 4, 2025
@cyruxOP
Copy link

cyruxOP commented Feb 7, 2025

The issue is with cdk/lib/api-publishment-stack.ts while creating the sqs handler lambda in the env LARGE_MESSAGE_BUCKET is not configured leading to this error while uploading the file to s3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation Bug but cause is not identified.
Projects
None yet
Development

No branches or pull requests

3 participants