1 Answer
- Newest
- Most votes
- Most comments
0
https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html
The creator of the URL must have the necessary permissions to upload that object.
The creator in your code is the entity, where you take this access/secret key from
aws_access_key_id = "access_key",
aws_secret_access_key = "secret_access_key"
Yes, I verified that the URL creator is able to upload the object.
try to add Fields={"Content-Type": "image/jpg"} into s3_client.generate_presigned_post
choose the needed content type
Thanks for the suggestion. Unfortunately accing the Fields has no effect on the result. Still getting a 403.