quarkus-quickstarts icon indicating copy to clipboard operation
quarkus-quickstarts copied to clipboard

AWS.SimpleQueueService.NonExistentQueue; see the SQS docs [amazon-sqs-quickstart]

Open jorgetovar opened this issue 3 years ago • 2 comments

I'm trying to run the Amazon SQS tutorial but I always get the same error.

image

I follow all the basic steps of this tutorial amazonsqs-guide

environment variable set up

QUEUE_URL=aws sqs create-queue --queue-name=ColliderQueue --profile localstack --endpoint-url=http://localhost:8010

image

I also put it in the application.properties but I got the same error

queue.url=http://localhost:8010/queue/ColliderQueue

jorgetovar avatar Nov 03 '21 15:11 jorgetovar

@jorgetovar it is because the QUEUE_URL variable is JSON, and it should be a plain text URL to the queue. Looks like your aws cli profile has setup default output format to json. You can fix it in the ~/.aws/config file by setting output=text for `localstack profile - see details in AWS CLI docs: https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-output-format.html

marcinczeczko avatar Nov 15 '21 13:11 marcinczeczko

@gsmet could be closed

scrocquesel avatar Jan 12 '24 19:01 scrocquesel