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 hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas