aioaws
aioaws copied to clipboard
delete_message and change_visibility not working on sqs
Theres an issue were the AWS server, for some reason, expects only / characters to be encoded while sending the authorization header, resulting on error 403 forbidden when trying to request those methods. This issue can be fixed by adding a simple replace on line 200 for core.py

Its also noticeable that the change_visibility method does not contains the "raise_for_status" for checking for erros on the request.
I also experienced this error when deleting SQS messages and downloading S3 files. It seems the issue was caused by a change to query parameter encoding in httpx 0.24.0. Reverting to httpx 0.23.3 resolved the issue for me.