I'm trying to use a custom function to download a pdf document.
The problem is that when I call the download() function the following error comes out.
ej.pdfviewer.min.js
Uncaught TypeError: this._newAnnotationList[(t - 1)] is undefined
The submit function is not called in webapi
I state that this only happens on the production server and does not happen locally.
What could it depend on?