magento2-s3
magento2-s3 copied to clipboard
Can not create configurable product with variations that have same images.
Process:
- Add new product
- Assign images to the configurable product
- Create configurable products based on attributes of color and size
- When uploading the same photos to the created variations I have the following error:
Error executing "CopyObject" on "https://teste-s3-magento.s3.us-east-2.amazonaws.com/tmp/catalog/product/_/m/_mg_6348_8.jpg"; AWS HTTP error: Client error:
PUT https://teste-s3-magento.s3.us-east-2.amazonaws.com/tmp/catalog/product/_/m/_mg_6348_8.jpg
resulted in a400 Bad Request
response: <Error><Code>InvalidRequest</Code><Message>This copy request is illegal because it is trying to copy an object to itself (truncated...) InvalidRequest (client): This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes. - <Error><Code>InvalidRequest</Code><Message>This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.</Message><RequestId>704F3AD63825D61F</RequestId><HostId>lCgK8Rc5r7S5zt02jRDdgl2J4736i1bcc5kEr4N78Im8l1lc26MLpkbNBxUhnv4h4b5eWYMAMv8=</HostId></Error>
Facing the same issue. Got following error :
Error executing "CopyObject" on "https://mgtestimages.s3.ap-south-1.amazonaws.com/tmp/catalog/product/q/w/qwr.jpg"; AWS HTTP error: Client error:
PUT https://mgtestimages.s3.ap-south-1.amazonaws.com/tmp/catalog/product/q/w/qwr.jpg
resulted in a400 Bad Request
response: <Error><Code>InvalidRequest</Code><Message>This copy request is illegal because it is trying to copy an object to itself (truncated...) InvalidRequest (client): This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes. - <Error><Code>InvalidRequest</Code><Message>This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.</Message><RequestId>412E06FECF9A67B6</RequestId><HostId>+bK1geIq8uT+BUaPezlHiaxn7NuJ6zW0B1z6k1ZiNnPpWIYq5SMDVKlxGhGwe5FSHqiX8HlxdHY=</HostId></Error> Is somebody looking into this?