Preview error - We're sorry, the preview didn't load. This document may be protected.
Hi,
I'm using Box Content Preview JS SDK(https://github.com/box/box-content-preview) to preview the files uploaded on our product. I tried SDK in JS fiddle and seems to work fine but when I integrated into the product I'm getting - "We're sorry, the preview didn't load. This document may be protected." for the same file. I have added both the domains in the app's CORS settings.
Can someone please help me resolve the issue? It's urgent. How comes the same code is working in JS fiddle?
-
Hi
Thanks for your post! This seems more like a preview issue that we will need to check with you.
This would be something our Box Support team would like to investigate with you and will require specific account information. If so, you should contact Box Support to help you directly. -
Following might not help you but might help someone else (like me) who searches for this error message and comes across this thread. With some assistance from Box support we discovered that this particular error appears for watermarked content on Box shared links that have passwords set; that is to say, if you enable watermarking on a folder (or individual file), and created a public shared link and set a password on the link, then neither previewing nor downloading will work (rending the shared link essentially useless). In other words, watermarking and link passwords are incompatible features. This bug is documented under "Known Limitations" on this page: https://community.box.com/t5/Migrating-and-Previewing-Content/Preview/ta-p/19153#limitations
-
Hi !
Just wanted to say thank you for sharing the additional information you found with the rest of the Box community!
Being aware of the known limitations helps clarify the situation for a lot of other community members facing the same problem.
Thank you again for your contribution and for your time in the Community!
投稿コメントは受け付けていません。
コメント
3件のコメント