Message attribute list values in SendMessage operation are not supported.

0

Message attribute list values in SendMessage operation are not supported.

Map<String, MessageAttributeValue> attributes = Map.of( "source", MessageAttributeValue.builder() .dataType("String").stringValue("Events").build(), "Call", MessageAttributeValue.builder() .dataType("String").stringListValues(Collections.emptyList()).build() );

Failure when passing MessageAttributeValue with StringListValues as empty in AWSSdkSqs sendMessage method

Message attribute list values in SendMessage operation are not supported. (Service: Sqs, Status Code: 400, Request ID: 5a45ea51-d981-526c-9f91-b7154ef3e2c2): software.amazon.awssdk.services.sqs.model.UnsupportedOperationException software.amazon.awssdk.services.sqs.model.UnsupportedOperationException: Message attribute list values in SendMessage operation are not supported. (Service: Sqs, Status Code: 400, Request ID: 5a45ea51-d981-526c-9f91-b7154ef3e2c2)

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions