skip to Main Content

Amazon web services – Celery Not able to connect to SQS using boto3 credentials

I'm trying to use Celery with SQS with the below config. But I receive InvalidClientToken error. Could some one help me to resolve this? I'm using celery[sqs]==5.3.6, Kombu==5.3.7 # Celery configuration SQS_QUEUE_URL = f'https://sqs.us-east-2.amazonaws.com/{settings.aws_account}/{settings.celery_worker_queue}' result_backend = f'db+postgresql://{settings.pg_db_config.user}:{settings.pg_db_config.pwd}@{settings.pg_db_config.host}:5432/{settings.pg_db_config.db_name}' pg_db_conn_string = f"postgresql://{settings.pg_db_config.user}:{settings.pg_db_config.pwd}@{settings.pg_db_config.host}:{settings.pg_db_config.port}/{settings.pg_db_config.db_name}"…

VIEW QUESTION

Amazon web services – Customize response from AWS API Gateway integrated to SQS

I have integrated AWS API Gateway to SQS queue and it give response in format { "SendMessageResponse": { "ResponseMetadata": { "RequestId": "acfa1737-7d53-5aeb-8c75-482a8f8eab1b" }, "SendMessageResult": { "MD5OfMessageAttributes": null, "MD5OfMessageBody": "ed1dbe6fa17bf45a3d20ea7be2661bfb", "MD5OfMessageSystemAttributes": null, "MessageId": "e41f656e-1e2a-4269-a0e0-2016d9406ac8", "SequenceNumber": null } } } how can…

VIEW QUESTION
Back To Top
Search