Skip to content

[Bug]: Error in SQS Delete Message #5669

Open
@ford-at-aws

Description

@ford-at-aws

Expected behavior

Steps to run code are clearly identified.
Code runs successfully without error.

Actual behavior

Steps to run are not clearly documented.
Code fails on at least 1 error.

Steps to reproduce

1. clone repo
2. pull creds
3. `cd python/example_code/sqs`
4. `pytest`

Logs / stacktrace (if applicable)

At least this error:

ModuleNotFoundError: No module named 'queue_wrapper'

Customer reported this error, too:

File "3app.py", line 17, in process_message
message.delete()
AttributeError: 'str' object has no attribute 'delete'


### Which SDK were you using?

Python

### Which OS were you using?

macOS

### SDK version

3.11

### OS version

13.5.1

Metadata

Metadata

Assignees

Labels

BugAn update to fix incorrect code or typos.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions