magento2-s3 icon indicating copy to clipboard operation
magento2-s3 copied to clipboard

Product image can not upload to S3 bucket

Open navuitag opened this issue 3 years ago • 0 comments

Hi there,

I've got an error when uploading product images to Amazon S3. Can anybody help me to know what is the problem? And how to fix this problem? Thank you so much.

Image was not uploaded. Error executing "PutObject" on "https://amazon-s3-bucket.s3.ap-southeast-1.amazonaws.com/tmp/catalog/product/s/e/Image.png"; AWS HTTP error: Client error: PUT https://amazon-s3-bucket.s3.ap-southeast-1.amazonaws.com/tmp/catalog/product/s/e/Image.png resulted in a 403 Forbidden response:

<?xml version="1.0" encoding="UTF-8"?> 
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>T7RZH9 (truncated...) AccessDenied (client): Access Denied - 

<?xml version="1.0" encoding="UTF-8"?> 
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>T7RZH9R6QAK5F8CH</RequestId><HostId>7/NWN4dNQ1s7DLnJPBnpd1j5xivKflnWeoTp+mGHSfKB6lxGlNoGgp1nnfxXJWAx4C2IANhnIPY=</HostId>
</Error>
  • Magento version 2.4.2

navuitag avatar Jan 01 '22 07:01 navuitag