When a user tries to upload a file through the Web Port, it may happen that they get a cryptic JavaScript error like:
"Uncaught TypeError: Pilot.Report.SimpleFileUpload\$onError is not a function".
To see the actual reason as to why the file failed to upload, an administrator can check the errors in the logfile "scitegicerror_cgifile.log" located in "
The most likely cause of this error is that the file to be uploaded violates the rules that has been set regarding the allowed file types, name or length. The settings related to this can be found in the Upload section on the Security > Security Configuration page of the Administration portal.
There are some security concerns to show the actual reason to why a specific file upload failed. Providing too much detail about the cause of the failure might provide valuable information to a bad actor. But on the other hand, a more informative message can be helpful for the honest actor. So it might be reasonable to at least distinguish between file name-related errors and others. There is an existing enhancement request, PPP-52518, asking to provide a more helpful error message in those cases which is under consideration by R&D.