System.InvalidOperationException: JSReport render failed. Status: 404. Response: {"type":"about:blank","title":"Not Found","status":404,"detail":"Template 522c9570-d630-4b39-92d5-d27e992a8fae not found","instance":"/api/v1/render","error_code":"NOT_FOUND"}
   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 70
--- 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.<RenderViaJsReportAsync>d__2.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\PdfExportSwitchHelper.cs:line 119


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


Request Body : ***BODY REDACTED FOR SENSITIVE ENDPOINT***


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/83/Categories/100216


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


Request URL : https://api-sandbox.oqsha.com/Organisation/262/Users/DropDown?ModuleName=Action Trackers&siteId=882&categoryIds=100216&IsActive=true


Request Body : {"Dimensions":{"CategoryTypeId":["100216"]}}


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


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


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


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


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


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


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


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


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


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


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


Request Body : {"resourceType":"master_dashboard","resourceUuid":"3"}


System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (BAD REQUEST).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at IncidentReporter.API.Helpers.SupersetClient.<PostGuestTokenAsync>d__15.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\SupersetClient.cs:line 95
--- 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.SupersetClient.<MintGuestTokenAsync>d__14.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\SupersetClient.cs:line 71
--- 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.EmbedBll.<GetGuestTokenAsync>d__5.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\EmbedBll.cs:line 120


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


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


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Courses/List


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Courses/314/Batches/2915


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Courses/314


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Courses/314/Batches/2915/Participants/678/AnswerQuiz


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


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Users/678


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Departments?SortingColumn=Name&SortingOrder=Asc


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


Request URL : https://api-sandbox.oqsha.com/Organisation/264/TrainingUsers?&siteId=845&siteId=846&siteId=900


Request URL : https://api-sandbox.oqsha.com/Organisation/264/Users/DropDown?siteId=845&siteId=846&siteId=900&roleId=577


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Contractors/All?isContractorListPage=true


Request Body : {"OrgId":[264],"SiteIds":[845,846,900],"isContractorListPage":true}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/83/Categories/100165


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


Request Body : {"Dimensions":{"CategoryTypeId":["100165"]}}


Request URL : https://api-sandbox.oqsha.com/Organisations/262/Modules/83/Categories/100216


Request Body : {"Dimensions":{"CategoryTypeId":["100216"]}}


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


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


Request Body : {"PageNumber":1,"PageLimit":1000,"UserId":14342,"AcmModuleId":85}


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


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


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


Request Body : {"PageNumber":1,"PageLimit":1000,"SiteIds":[882],"IsPublished":true,"UserId":14342,"AcmModuleId":85}


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


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


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


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


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


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


Request URL : https://api-sandbox.oqsha.com/AppVersions?DeviceType=android&Version=6.6.2&IsOqsha=true


Request URL : https://api-sandbox.oqsha.com/Modules/Version/All?Appversion=6.6.2


Request URL : https://api-sandbox.oqsha.com/UserPushNotifications?filter.pageNumber=1&filter.pageLimit=1&filter.isRead=false


Request URL : https://api-sandbox.oqsha.com/Dashboard/Organisations/264/SideMenu


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


Work Permit V2 Notification Count from State Router: 0


Work Permit V2 ActorContext from State Router: System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.Int32]]


Trigger config check for Module: Work Permit V2, TriggerEvent: record_updated, CategoryId: 100217 returned: False


Queueing Work Permit V2 Timer Engine event. OrgId=262, ModuleId=85, WorkPermitId=738, TriggerEvent=Partially Approved


Publishing Timer Engine events. EventCount=1, Endpoint=api/timer-engine/events/bulk


Timer Engine events POST succeeded. Status: OK, Body: {"status":"Success","data":{"totalEventCount":1,"successfulEventCount":1,"failedEventCount":0,"matchedRuleCount":0,"createdQueueCount":0,"skippedQueueCount":0,"errors":[],"skippedReasons":[]},"message":"Timer event batch submitted successfully.","errors":null}


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


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


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


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


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


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


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


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


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


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


Queueing Work Permit V2 Timer Engine event. OrgId=262, ModuleId=85, WorkPermitId=738, TriggerEvent=Approved


Request URL : https://api-sandbox.oqsha.com/Organisations/211/Modules/87/Categories/100215