[bug] Amazon.SQS.AmazonSQSException: Attribute MD5 hash mismatch thrown on 1.1.0-beta.6 version when SQS message had attribute #2304
Labels
bug
Something isn't working
comp:instrumentation.aws
Things related to OpenTelemetry.Instrumentation.AWS
Component
OpenTelemetry.Instrumentation.AWS
Package Version
Runtime Version
net8.0
Description
When SQS messages have attribute(s), Amazon.SQS.AmazonSQSException: Attribute MD5 hash mismatch thrown on latest version.
Steps to Reproduce
Sample test on Lambda
`using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
using OpenTelemetry;
using OpenTelemetry.Instrumentation.AWSLambda;
using OpenTelemetry.Trace;
using Amazon.SQS;
using Amazon.SQS.Model;
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]
namespace LambdaTest
{
public class LambdaHandlerSQS
{
private IAmazonSQS _sqsClient;
private readonly Tracer _tracer;
}`
Expected Result
Messages should get sent to queue without exception
Actual Result
Amazon.SQS.AmazonSQSException: Attribute MD5 hash mismatch thrown
Additional Context
No response
The text was updated successfully, but these errors were encountered: