Open maheshtirumerla opened 1 week ago
Hi @maheshtirumerla, what error does the AWS SDK return? In your example, I would expect to see some output from Console.WriteLine($"SQS error occurred: {sqsEx.Message}");
if there was an error.
How do you start the MotoServer, using which command?
FWIW, I've added this sample as a test case to our CI system, and that seems to pass - see https://github.com/getmoto/moto/pull/8323
I am trying to create an SQS queue using Moto (AWS local mock service) in C#, but the queue creation fails (Even same for List oberations). The CreateQueueAsync method always returns null or an error, even though I am using the correct endpoint for the Moto server.
I have started the Moto server using Docker (or other methods) at http://127.0.0.1:5000.
I created an AmazonSQSClient in C# to point to the Moto server:
I called the CreateQueueAsync method to create a new SQS queue:
The queue creation fails and returns null.
Additionally, I get this output
2024-11-14 09:35:44 - POST / HTTP/1.1 200 OK 2024-11-14 09:36:10 - POST / HTTP/1.1 200 OK