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
When attempting to send a batch of messages where each message is below the DEFAULT_MESSAGE_SIZE_THRESHOLD but the total size exceeds 262144 bytes, boto3 sqs client's send_message_batch() function fails with a BatchRequestTooLong error.
Steps to Reproduce
Initialize the SQS client with large payload support:
The batch of messages should be sent successfully.
Actual Behavior
The operation fails with the following error: {BatchRequestTooLong}BatchRequestTooLong('An error occurred (AWS.SimpleQueueService.BatchRequestTooLong) when calling the SendMessageBatch operation: Batch requests cannot be longer than 262144 bytes. You have sent 400000 bytes.')
Additional Information
Just to verify all is configured properly on my setup, sending the large messages does work as intended, via the s3 bucket:
Description
When attempting to send a batch of messages where each message is below the DEFAULT_MESSAGE_SIZE_THRESHOLD but the total size exceeds 262144 bytes, boto3 sqs client's
send_message_batch()
function fails with a BatchRequestTooLong error.Steps to Reproduce
Expected Behavior
The batch of messages should be sent successfully.
Actual Behavior
The operation fails with the following error:
{BatchRequestTooLong}BatchRequestTooLong('An error occurred (AWS.SimpleQueueService.BatchRequestTooLong) when calling the SendMessageBatch operation: Batch requests cannot be longer than 262144 bytes. You have sent 400000 bytes.')
Additional Information
Just to verify all is configured properly on my setup, sending the large messages does work as intended, via the s3 bucket:
The text was updated successfully, but these errors were encountered: