S3 Bucket Connect with pimcore

0

Hello,

I try to connect s3 Bucket in Pimcore. but its not working. Configuration are correct for pimcore side.

Error : {"success":false,"message":"Unable to write file at location: image2-2-175d2cb3023-140x140 (1).jpeg. Error executing \u0022PutObject\u0022 on \u0022https://s3.eu-north-1.amazonaws.com/resources.kvaser.com/PreProductionAssets/image2-2-175d2cb3023-140x140%20%281%29.jpeg\u0022; AWS HTTP error: Client error: PUT https:\/\/s3.eu-north-1.amazonaws.com\/resources.kvaser.com\/PreProductionAssets\/image2-2-175d2cb3023-140x140%20%281%29.jpeg resulted in a 400 Bad Request response:\n\u003C?xml version=\u00221.0\u0022 encoding=\u0022UTF-8\u0022?\u003E\n\u003CError\u003E\u003CCode\u003EAccessControlListNotSupported\u003C/Code\u003E\u003CMessage\u003EThe bucket does not all (truncated...)\n AccessControlListNotSupported (client): The bucket does not allow ACLs - \u003C?xml version=\u00221.0\u0022 encoding=\u0022UTF-8\u0022?\u003E\n\u003CError\u003E\u003CCode\u003EAccessControlListNotSupported\u003C/Code\u003E\u003CMessage\u003EThe bucket does not allow ACLs\u003C/Message\u003E\u003CRequestId\u003ESMJ4A9270WNAAX2N\u003C/RequestId\u003E\u003CHostId\u003EgclfaC6cqoBrT/wY/A+mHw6uMJE4LEN/AjPK4CBeXRAhA0FIDR/d+x1cFZWX8e2qD8j405C2YeE=\u003C/HostId\u003E\u003C/Error\u003E"}

sanjeev
asked 19 days ago75 views
1 Answer
0

Hi, I do not have enough context or details about your specific Pimcore and AWS S3 configuration to provide a definitive solution. However, the error message you provided suggests that the issue is related to the bucket's Access Control List (ACL) settings. The error message "AccessControlListNotSupported" indicates that the S3 bucket you are trying to access does not allow ACLs. This is a relatively new feature in S3, where bucket owners can disable ACLs and use bucket policies and IAM roles for access control instead.

profile pictureAWS
answered 19 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions