react-doc-viewer icon indicating copy to clipboard operation
react-doc-viewer copied to clipboard

Issue displaying Microsoft files (docx, xlsx...) stored on s3 buckets

Open lasource18 opened this issue 1 year ago • 12 comments

Hi,

Has anyone encountered this error when accessing s3 urls via DocViewerRenderers and been able to solve it?

image

The scenario is, I am passing an s3 url xlsx file, once I render the document I get this error above. Here’s a snapshot of the component

image

I also tried to create custom renderers using Google and Microsoft viewers (see below) but I'm getting the same error

image

image

image

The bucket policy is set as public and it works fine for pdfs and text files

I'm using MinIO to store the files and the application is built with Laravel Sail + InertiaJS (React).

If you require any additional information please let me know.

Thanks!

lasource18 avatar Feb 07 '24 20:02 lasource18

Facing the same issue

rabalasubramani3 avatar Feb 13 '24 23:02 rabalasubramani3

Facing the same issue

jiuli avatar Feb 21 '24 11:02 jiuli

Facing similar issue, it shows docx or pptx files from cloudinary but when I switch to others services, It's not working.

nguyenphu123 avatar Feb 26 '24 04:02 nguyenphu123

Same here.

the-rich-piana avatar Feb 28 '24 19:02 the-rich-piana

No sure if his is related to s3 buckets, Im' having issues viewing docx locally

Tsabary avatar Mar 17 '24 19:03 Tsabary

Is this issue resolved???... Not able to load doc, docx files

Akash8614 avatar Mar 21 '24 01:03 Akash8614

Same problem here. Pls fix

asfolif avatar Mar 25 '24 14:03 asfolif

There is also a problem with viewing jgp, pdf files gives a CORS error, but docs and xlsx display normally.How fix ??help pls

ron4eg1992 avatar Mar 27 '24 16:03 ron4eg1992

I'm using Pre-signed URLs from AWS S3 to get the documents. It was working before without any issues, but since 2 days I have problem with MSDocs(DOC, DOCX, PPT, PPTX). Surprisingly XLS and XLSX are working fine along with the TXT, PDF, PNG and JPG files. Was anyone able to resolve the issue or have a clue what is happening?

iyash1 avatar Aug 14 '24 09:08 iyash1