Configuration missing: JSREPORT_API_KEY

System.InvalidOperationException: Configuration missing: JSREPORT_API_KEY
   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 31
--- 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.Helpers.PdfExportSwitchHelper.<TryRenderPdfViaJsReportAsync>d__0.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\PdfExportSwitchHelper.cs:line 64


System.IO.FileNotFoundException: Fallback PDF template missing. Expected HTML template path: D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\GenericWork\ExportWorkPermitV2.html
File name: 'D:\App-Data\iis\api-qa-staging.oqsha.com\api-qa-staging.oqsha.com\Templates/PDFs\264\WorkPermitV2\GenericWork\ExportWorkPermitV2.html'
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.ResolveTemplatePath(String baseDir, String templatesRoot, String orgId, String module, String categoryFolder, String fileName) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 89
   at IncidentReporter.API.Helpers.WorkPermitV2PDFHelper.<ExportWorkPermitV2PDFAsync>d__1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\WorkPermitV2PDFHelper.cs:line 0
--- 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.WorkPermitV2Bll.<ExportWorkPermitV2PDFAsync>d__11.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitV2Bll.cs:line 1556


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-09-26_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-12-02_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-09-04_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/Resources/app-language-eng?orgId=262


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Modules/APIs


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Modules/Version/All?Appversion=6.6.0


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=ios&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/262


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-30_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/Resorces/app-language-eng?orgId=232


Request URL : https://api-qa-staging-2.oqsha.com/Resorces/app-language-eng?orgId=248


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/232


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=android&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/248


Request URL : https://api-qa-staging-2.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=10


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-09-13_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2026-01-11_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-03_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-06_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-10-22_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2025-12-02_exception.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/logs/2026-01-21_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/Resources/app-language-eng?orgId=262


Request URL : https://api-qa-staging-2.oqsha.com/Languages


Request URL : https://api-qa-staging-2.oqsha.com/Modules/APIs


Request URL : https://api-qa-staging-2.oqsha.com/Health


Request URL : https://api-qa-staging-2.oqsha.com/Modules/Version/All?Appversion=6.6.0


Request URL : https://api-qa-staging-2.oqsha.com/AppVersions?DeviceType=ios&IsLatestVersion=true&IsOqsha=true


Request URL : https://api-qa-staging-2.oqsha.com/AccessControl/Modules/262


Request URL : https://api-qa-staging-2.oqsha.com/robots.txt


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


Request URL : https://api-qa-staging-2.oqsha.com/Resources/package-features-eng


Request URL : https://api-qa-staging-2.oqsha.com/logs/2026-01-02_log.ndjson


Request URL : https://api-qa-staging-2.oqsha.com/wp-json/batch/v1


Request Body : {"requests":[]}