Closed zodiac403 closed 2 months ago
Hi @zodiac403 thanks for reaching out. There was a recent change in 1.34.90 related to SQS:
- api-change:
sqs
: This release enables customers to call SQS using AWS JSON-1.0 protocol
However, the response syntax should be the same. I just tested your snippet in both 1.34.89 and 1.34.90 and confirmed that QueueUrl
was returned as expected. Are you by chance using moto or some other third-party package? If so please try updating to see if that resolves the issue.
It looks like in moto version 4.2.10 is where support for the SQS change was added.
Hi @tim-finnigan ,
thanks for the very quick response. I will check that out on my side.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Hi @tim-finnigan ,
indeed, there was moto pinned to an old version in this project. Appreciate your support here!
I have same error, although no moto package installed. 1.34.89 works good, 90+ returns no QueueUrl in response I had to pin botocore==1.34.89 😢
Describe the bug
Sample code to reproduce the issue:]
According to boto docs,
create_queue()
should return a dict like { 'QueueUrl': 'string' } https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sqs/client/create_queue.htmlWith version
botocore==1.34.89
this is still the behavior I can observeExpected Behavior
Resolve URL with
queue_url = queue["QueueUrl"]
Current Behavior
queue_url = queue["QueueUrl"]
results in aKeyError
as the the result ofcreate_queue()
does not have an entry"QueueUrl"
.Reproduction Steps
Code sample above
Possible Solution
No response
Additional Information/Context
No response
SDK version used
Observed the issue in
1.34.90
, could not reproduce the issue in1.34.89
Environment details (OS name and version, etc.)
MacOs Sonoma 14.4