{ "timestamp": "2026-07-25 05:14:45.6649", "level": "Error", "severity": "ERROR", "TraceId": "7db80e30-458b-4998-bd75-c1f0dbe7e0d9", "message": "Response status code does not indicate success: 400 (BAD REQUEST).", "stackTrace": "System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (BAD REQUEST).\r\n   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()\r\n   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\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   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\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   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", "ApiInput": {"Method":"POST","Url":"https://api-sandbox.oqsha.com/Organisation/262/Embed/GuestToken","Route":"/Organisation/262/Embed/GuestToken","Query":"","Body":{"resourceType":"master_dashboard","resourceUuid":"3"}}, "MethodName": "GetGuestTokenAsync", "EntryPoint": "API", "InputData": null, "TraceId": "7db80e30-458b-4998-bd75-c1f0dbe7e0d9", "ApiInputJson": "{\"Method\":\"POST\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisation\/262\/Embed\/GuestToken\",\"Route\":\"\/Organisation\/262\/Embed\/GuestToken\",\"Query\":\"\",\"Body\":{\"resourceType\":\"master_dashboard\",\"resourceUuid\":\"3\"}}" }
{ "timestamp": "2026-07-25 06:55:58.8110", "level": "Error", "severity": "ERROR", "TraceId": "90e03c3f-6e76-4c56-b345-6b1e1a5636db", "message": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportPreventiveMaintenancePDFHelper.ExportPreventiveMaintenancePDF(PreventiveMaintenanceResponseDto maintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportPreventiveMaintenancePDFHelper.cs:line 216", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportPreventiveMaintenancePDFHelper.ExportPreventiveMaintenancePDF(PreventiveMaintenanceResponseDto maintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportPreventiveMaintenancePDFHelper.cs:line 216", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/PreventiveMaintenance/17/Export","Route":"/Organisations/255/PreventiveMaintenance/17/Export","Query":"","Body":""} }
{ "timestamp": "2026-07-25 07:39:57.7399", "level": "Error", "severity": "ERROR", "TraceId": "ea56ad76-4309-4f09-b325-a134b463838e", "message": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportPreventiveMaintenancePDFHelper.ExportPreventiveMaintenancePDF(PreventiveMaintenanceResponseDto maintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportPreventiveMaintenancePDFHelper.cs:line 216", "stackTrace": "System.Exception: The file path you provided is not Valid\r\n   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)\r\n   at IncidentReporter.API.Helpers.ExportPreventiveMaintenancePDFHelper.ExportPreventiveMaintenancePDF(PreventiveMaintenanceResponseDto maintenance, String organisationName, String organisationBannerRelativePath, String outputAbsoluteFilePath, String moduleCustomName, String transitionHistoryJson) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\Helpers\\ExportPreventiveMaintenancePDFHelper.cs:line 216", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/255/PreventiveMaintenance/19/Export","Route":"/Organisations/255/PreventiveMaintenance/19/Export","Query":"","Body":""} }
