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


Request URL : https://api-qa-staging-2.oqsha.com/Organisation/211/User/20752/JobTypes


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/FieldStaffAndAppUsers?siteIds=536


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/All?SortingColumn=CreatedOn


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/410111?extensionRequestedDate=2026-08-05


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/UserExistsInSiteAndCompany?&siteId=536&companyId=366


Request URL : https://api-qa-staging-2.oqsha.com/PtwStatuses?Level=2


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/410111/PermitToWorkHistory


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/211/PermitToWork/UsersByRole?ptwJobDesignationId=2&siteId=536&companyId=366&jobTypeIds=140


Request URL : https://api-qa-staging-2.oqsha.com/Users/1978?orgid=211


Request URL : https://api-qa-staging-2.oqsha.com/Users/10349?orgid=211


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


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Users/267


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


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


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/PendingActionsNotifications


Request URL : https://api-qa-staging-2.oqsha.com/Dashboard/Organisations/262/SideMenu


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Reports/Dashboards


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/TaskCategories/Dropdown


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Training/Counts


Request Body : {"SiteId":[881,883,886,884,841,888,887,882,889,885],"UserId":267}


Request Body : {"SiteIds":[881,883,886,884,841,888,887,882,889,885],"FromDate":"2026-04-01","ToDate":"2026-08-05"}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Divisions/Dropdown


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Incidents/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Inspections/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Tasks/List/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Courses/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/PermitToWork/All/Sites/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/ManagementOfChangeList/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/IncidentManagement/Firs/Counts


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/KPI/PlantMaster/Sites/Counts


Request Body : {"SiteIds":[881,883,886,884,841,888,887,882,889,885],"FromDate":"2026-04-01","ToDate":"2026-08-05","CategoryId":[1712,1715]}


Request Body : {"SiteIds":[881,883,886,884,841,888,887,882,889,885],"FromDate":"2026-04-01","ToDate":"2026-08-05","CategoryId":[]}


Request Body : {"SiteIds":[881,883,886,884,841,888,887,882,889,885]}


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/WorkPermit/Statuses


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/99/Categories/All


Request URL : https://api-qa-staging-2.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-qa-staging-2.oqsha.com/Organisations/262/Modules/99/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-qa-staging-2.oqsha.com/Organisations/262/AuditV2/All


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/AuditV2/4


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


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/Modules/99/Workflows/Transitions/Available


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/AuditV2/4/Export


Request URL : https://api-qa-staging-2.oqsha.com/Organisations/262/AuditV2/7/Export