aioaws icon indicating copy to clipboard operation
aioaws copied to clipboard

delete_message and change_visibility not working on sqs

Open JSilva6 opened this issue 2 years ago • 1 comments

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

image

Its also noticeable that the change_visibility method does not contains the "raise_for_status" for checking for erros on the request.

JSilva6 avatar Apr 19 '23 21:04 JSilva6

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.

vfos-github avatar Apr 26 '23 20:04 vfos-github