Skip to content

Product image can not upload to S3 bucket #91

@navuitag

Description

@navuitag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions