System.InvalidOperationException: JSReport render failed. Status: 404. Response: {"message":"Unable to find specified template (Drop Survey Checklist)","stack":"Error: Unable to find specified template (Drop Survey Checklist)\n  at module.exports (/app/node_modules/@jsreport/jsreport-core/lib/shared/createError.js:10:13)\n  at WorkerReporter.createError (/app/node_modules/@jsreport/jsreport-core/lib/shared/reporter.js:53:12)\n  at AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/worker/templates.js:51:28)\n  at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)\n  at async beforeRender (/app/node_modules/@jsreport/jsreport-core/lib/worker/render/render.js:24:5)\n  at async WorkerReporter._render (/app/node_modules/@jsreport/jsreport-core/lib/worker/render/render.js:147:7)\n  at async /app/node_modules/@jsreport/jsreport-core/lib/worker/reporter.js:234:24\n  at async processAndResponse (/app/node_modules/@jsreport/advanced-workers/lib/workerHandler.js:42:17)"}
   at IncidentReporter.API.Helpers.JsReportUtils.<RenderPdfAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\JsReportUtils.cs:line 77
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\InspectionV2Bll.cs:line 895


System.IO.FileNotFoundException: Could not find file 'D:\App-Data\iis\api.incidentreporter365.com\Templates\ExportInspectionV2PDFTemplate.html'.
File name: 'D:\App-Data\iis\api.incidentreporter365.com\Templates\ExportInspectionV2PDFTemplate.html'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   at InspectionV2PDFHelper.<ExportInspectionV2PDFAsync>d__1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\InspectionV2PDFHelper.cs:line 82
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IncidentReporter.API.BLL.InspectionV2Bll.<ExportInspectionV2PDFAsync>d__8.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\InspectionV2Bll.cs:line 914


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=881&siteId=883&siteId=886&siteId=884&siteId=841&siteId=888&siteId=887&siteId=882&siteId=889&siteId=885


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/77/Categories/All


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/77/Workflows/States/Types


Request Body : {"SiteIds":[881,883,886,884,841,888,887,882,889,885],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Safety-Alerts/All


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Divisions


Request URL : https://api-sandbox.oqsha.com/Organisations/248/IncidentLocations?isActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Users/11701/incidentsites?isActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/248


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Users/11701


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Modules


Request URL : https://api-sandbox.oqsha.com/Resourcses/eng?orgId=262


Request URL : https://api-sandbox.oqsha.com/Languages


Request URL : https://api-sandbox.oqsha.com/Organisations/248/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/248


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Training/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request Body : {"SiteIds":[707],"FromDate":"2026-04-01","ToDate":"2026-06-03"}


Request Body : {"SiteId":[707],"UserId":11701}


Request URL : https://api-sandbox.oqsha.com/Organisation/248/UserPreference


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Divisions/Dropdown?SiteId=707


Request URL : https://api-sandbox.oqsha.com/Resourcses/eng


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Incidents/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03&CategoryId=1637&CategoryId=1574&CategoryId=1575&CategoryId=1576


Request URL : https://api-sandbox.oqsha.com/Organisations/248/IncidentManagement/Firs/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/KPI/PlantMaster/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Courses/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Inspections/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChangeList/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/PermitToWork/All/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03&AcmModuleId=46


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Reports/Dashboards


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Training/Counts


Request URL : https://api-sandbox.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/262


Request URL : https://api-sandbox.oqsha.com/Organisations/248/WorkPermit/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Library/Categories


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/PlantMasterDropdown


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/EmployeeMasterDropdown


Request URL : https://api-sandbox.oqsha.com/Health


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Library


Request Body : {"OrgId":248,"UserId":11701}


Request Body : {"OrgId":[248],"SiteId":[707]}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Incidents/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03&CategoryId=1637&CategoryId=1574&CategoryId=1575&CategoryId=1576


Request URL : https://api-sandbox.oqsha.com/Organisations/248/IncidentManagement/Firs/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/KPI/PlantMaster/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Courses/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Inspections/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChangeList/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/PermitToWork/All/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List/Site/707/Counts?FromDate=2026-04-01&ToDate=2026-06-03&AcmModuleId=46


Request URL : https://api-sandbox.oqsha.com/Organisation/248/KPI/PlantMaster/AverageRatings


Request Body : {"KpiId":[47,23,35,29,40,57],"SiteIds":[707]}


Request URL : https://api-sandbox.oqsha.com/Organisations/255/Divisions


Request URL : https://api-sandbox.oqsha.com/Organisations/255/IncidentLocations?isActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/255/Users/267/incidentsites?isActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Users/267


Request URL : https://api-sandbox.oqsha.com/Organisation/262/AccessControl/Roles


Request URL : https://api-sandbox.oqsha.com/Organisations/255


Request URL : https://api-sandbox.oqsha.com/Organisations/255/Users/267


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Workflows/States/Types


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Departments


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Categories/104


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Modules


Request URL : https://api-sandbox.oqsha.com/Organisations/262


Request URL : https://api-sandbox.oqsha.com/Languages


Request URL : https://api-sandbox.oqsha.com/Organisations/262/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/262


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Reports/Dashboards


Request URL : https://api-sandbox.oqsha.com/Organisation/211/Users/DropDown?moduleName=Inspections&siteId=588&AssetTypeId=65&AcmModuleId=29&roleId=427&categoryIds=330


Request URL : https://api-sandbox.oqsha.com/Organisation/211/Users/DropDown?moduleName=Inspections&siteId=588&AssetTypeId=65&AcmModuleId=29&roleId=426&categoryIds=330


Request URL : https://api-sandbox.oqsha.com/Organisation/211/Users/DropDown?moduleName=Inspections&siteId=588&AssetTypeId=65&AcmModuleId=29&roleId=428&categoryIds=330


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/77/Workflows/States/Startable


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=841


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/77/Categories/All


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request Body : {"Dimensions":{"CategoryTypeId":9}}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/77/Categories/9


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=Safety Alerts&isActive=true


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Investigations/All


Request Body : {"SiteId":[],"CategoryId":[],"StateTypeId":[],"StartDate":"","EndDate":"","SearchTerm":"","SortingColumn":["CreatedOn"],"SortingOrder":["desc"],"PageNumber":1,"PageLimit":500}


Request URL : https://api-sandbox.oqsha.com/Resourcses/eng?orgId=262


Request URL : https://api-sandbox.oqsha.com/Resourcses/eng


Request URL : https://api-sandbox.oqsha.com/Health


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Users/267


Request URL : https://api-sandbox.oqsha.com/Organisation/262/AccessControl/Roles


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Workflows/States/Types


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Departments


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Categories/104


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Modules


Request URL : https://api-sandbox.oqsha.com/Organisations/262


Request URL : https://api-sandbox.oqsha.com/Languages


Request URL : https://api-sandbox.oqsha.com/Organisations/262/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/262


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Reports/Dashboards


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Safety-Alerts


Safety Alert Role Ids are not configured. Skipping notifications.


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?siteId=881&siteId=883&siteId=886&siteId=884&siteId=841&siteId=888&siteId=887&siteId=882&siteId=889&siteId=885


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/77/Categories/All


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/77/Workflows/States/Types


Request Body : {"SiteIds":[881,883,886,884,841,888,887,882,889,885],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Safety-Alerts/All


Request URL : https://api-sandbox.oqsha.com/Resources/eng


Request URL : https://api-sandbox.oqsha.com/Health


Request URL : https://api-sandbox.oqsha.com/Resources/package-features-eng


Request URL : https://api-sandbox.oqsha.com/Resources/eng?orgId=262


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Users/267


Request URL : https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/33


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Categories/All


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Modules


Request URL : https://api-sandbox.oqsha.com/Organisations/262


Request Body : {"SiteIds":[841],"PageNumber":1,"PageLimit":1000,"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Languages


Request URL : https://api-sandbox.oqsha.com/Organisations/262/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/87/Workflows/Transitions/Available


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Departments


Request Body : {"SiteId":[841],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-sandbox.oqsha.com/Transition-History?orgId=262&ModuleId=87&EntityId=33


Request URL : https://api-sandbox.oqsha.com/AccessControl/Modules/262


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Reports/Dashboards


Request URL : https://api-sandbox.oqsha.com/Organisations/262/InspectionV2/33/Export