General HTTP error codes provide explanations for issues encountered. This applies to all websites and services. See HTTP response status codes


If the URL or endpoint is incorrect, then a "404 Not Found" error would be returned.


If the API Key were incorrect, then a "401 Unauthorized" error would be returned.


The error message "500 Internal Server Error" thus internal to Prelink 


If Prelink is unable to generate the report, standard troubleshooting should be conducted:


  • Is a report template configured?
  • Is the correct report template in use?
  • What parameters were passed to the "getFile" method?
  • Depending on the parameters, did the report include a signed-off department(s)? (API, doctors, and Communication service only allow reports from signed-off departments).


If those conditions are not met, then a report is not generated and a "500 Internal Server Error" is thrown.