Jsreport Preview is not working
Suddenly, my jsreport preview (excel) in the right pane stopped working. I am receiving this error,
"File not found
The URL of the original file is not valid or the document is not publicly accessible.
Verify the URL is correct, then contact the document owner."
Thanks in advance.
Which jsreport version do you use please? Thanks
Thanks for your response.
Version is 2.1.1
Thank you. It works for me on this version.
Can you try to check the f12 console and network?
There should be request like "https://view.officeapps.live.com/op/view.aspx?src=http%3A%2F%2Fjsreport.net%2Ftemp%2F81ef7df2273625b764ee4c975cf6ed0c.xlsx"
Could you share it? Just make sure you don't send sensitive data in excel.
The preview also worked for me except for one template. We could fix the issue.
The issue was with the size of json data we were using. Apparently, it was larger than the size supported by Jsreport. We reduced the size of the data and it worked.
This is the response we got:
<head><title>413 Request Entity Too Large</title></head>
<center><h1>413 Request Entity Too Large</h1></center>
Thank you for the further information.
I"ve increased the max request size. I believe it should be enough for everyone.
Great! Thank you.
Could you please let us know the updated max request size?
10m Is it not enough for you?
Yes. That's good enough.