Skip to main content
Participant
February 27, 2021
解決済み

File Preview Error

  • February 27, 2021
  • 返信数 2.
  • 1082 ビュー

Demo works fine but when I enter my own client ID and pdf I get the file preview error. Recreated credientials as suggested in this thread. but didn't solve the issue. Read a bit about CORS issues but the pdf I'm using is located at my own domain so don't think that's it. Tried using different pdfs and locating them in the main directory not using subfolders and still the same preview error. Any help would be appreciated to get this sized container working. Thanks,

.  

このトピックへの返信は締め切られました。
解決に役立った回答 Craig5CFA

After a quick break and some more messing around came across two things: first was the unwanted angular brackets I had on the client id, but the bigger issue is it won't work locally and I needed to actually launch my web page to have it function. Inconvenient for testing but at the end of the day up and running where it matters. 

返信数 2

Craig5CFA作成者解決!
Participant
February 27, 2021

After a quick break and some more messing around came across two things: first was the unwanted angular brackets I had on the client id, but the bigger issue is it won't work locally and I needed to actually launch my web page to have it function. Inconvenient for testing but at the end of the day up and running where it matters. 

Legend
February 27, 2021

I've never done this but it seems to me that the URL in the code doesn't match the domain in the credentials.