I have problem with download/view the NON-IMAGE files from my Aws bucket. When i click on an Image, the browser display it correctly. But when this file is not an image, i got error:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
AccessDenied
Access Denied
P1MA7W4X9AXFGTGT
54cMMBq0FcAsrVGSHnXqoqGgBgsIDcRqn1XGfKOAMyRSa86Bd97LU0cfTfqW6AZTp8a529+spSWg=
This is my setup:
Upload folder:
“s3://my-bucket/test/”.$this->ID->CurrentValueView Tag:
Hyperlink: HREF field: Image
So the Image field will display a link to the file uploaded to my Bucket. When the uploaded file is a PNG file, it display just fine. But when it’s a XLS file, it display an error. It should be display a download dialog. Please help how to fix this error.h…ps://my-bucket.s3.us-east-2.amazonaws.com/17-091.xls?session=S8jgodsgBaLsAMImdaoTOMzEM8mjACxpezK9s7TsO2c.&csrf_name=csrf61bfeec696c79&csrf_value=c014fc63be23af9c9e759c56e083a2d3h…s://my-bucket.s3.us-east-2.amazonaws.com/thu+moi+hop+tac.png?session=S8jgodsgBaLsAMImdaoTOMzEM8mjACxpezK9s7TsO2c.&csrf_name=csrf61bfeec696c79&csrf_value=c014fc63be23af9c9e759c56e083a2d3
vuongduongquoc wrote:
AccessDenied
Are you sure that file is public?
Yes correct. I got if fixed.
Now the Images display just fine in each row. But when i click on the Image a window popup but it says “This image failed to load.”
How can i fix it?
You may check HTTP response.