Sqs SDK throws naming format error when using .fifo extension on a FIFO message queue

0

I am getting the following error thrown when trying to use the Aws Sqs package in C#:

Amazon.SQS.AmazonSQSException: Can only include alphanumeric characters, hyphens, or underscores. 1 to 80 in length

This is because my queue is named samples_receive_test_queue.fifo

The .fifo extension is required when creating a message with the type FIFO. I need a message queue of type FIFO so I do not receive duplicate messages when running my application with multiple containers.

Is there a fix for this? Or a work around? The two rules contradict each other.

1개 답변
-1

Hello,

From the query, I understand that you are receiving "Amazon.SQS.AmazonSQSException: Can only include alphanumeric characters, hyphens, or underscores. 1 to 80 in length" when trying to use the AWS SQS SDK package in C#.

I tried to create a FIFO queue with the name "samples_receive_test_queue.fifo" from the AWS Management Console and I was successfully able to create the .fifo queue

Further, I tried to check the GitHub issues with AWS SDK for C#, but was unable to find any issues regarding the same.

So to further troubleshoot the issue, I would request you to kindly check the CloudTrail logs for the failed request to understand the complete error/exception thrown. I would request you to kindly reach out to the AWS Support with the complete error message and request-id to further investigate the issue with the details provided.

Thank you

답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠