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


System.Exception: User details not found for the given user and organisation.


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":43,"EntityId":211,"ChangedBy":{"UserId":3,"Name":"Raj kumar"},"ChangeType":"Updated","OldValue":{"OrganisationId":"8G8U3R","OrganisationName":"Galecto Inc.","OrganisationType":"Construction","Packages":[{"PackageId":1,"InvoiceId":306,"StartDate":"2024-09-03T00:00:00","EndDate":"2024-09-18T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null},{"PackageId":1,"InvoiceId":308,"StartDate":"2024-09-04T00:00:00","EndDate":"2025-12-30T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""},{"PackageId":4,"InvoiceId":408,"StartDate":"2025-12-31T00:00:00","EndDate":"2026-12-31T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":0,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":1,"Attendance IsVisible":0,"Audit Management IsVisible":1,"Audit V2 IsVisible":1,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":0,"Companies IsVisible":1,"Courses IsVisible":0,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":0,"Departments IsVisible":0,"Employee Recognition IsVisible":0,"Esg IsVisible":0,"FIR IsVisible":0,"Health IsVisible":0,"Health V2 IsVisible":0,"Heatmap IsVisible":1,"HIRA IsVisible":1,"HIRA V2 IsVisible":0,"Incident Management IsVisible":1,"Inspection V2 IsVisible":0,"Inspections IsVisible":1,"Investigations IsVisible":0,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":0,"Library IsVisible":0,"Library V2 IsVisible":0,"MOC IsVisible":0,"My training IsVisible":0,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":1,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":1,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":0,"Processes IsVisible":0,"PSSR IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":0,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":1,"Tickets IsVisible":1,"TNI IsVisible":0,"TNI Progress IsVisible":0,"Training register IsVisible":0,"Training report IsVisible":0,"Users IsVisible":1,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":0},"PtwPreferences":null},"NewValue":{"OrganisationId":"8G8U3R","OrganisationName":"Galecto Inc.","OrganisationType":"Construction","Packages":[{"PackageId":1,"InvoiceId":306,"StartDate":"2024-09-03T00:00:00","EndDate":"2024-09-18T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null},{"PackageId":1,"InvoiceId":308,"StartDate":"2024-09-04T00:00:00","EndDate":"2025-12-30T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""},{"PackageId":4,"InvoiceId":408,"StartDate":"2025-12-31T00:00:00","EndDate":"2026-12-31T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":0,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":1,"Attendance IsVisible":0,"Audit Management IsVisible":1,"Audit V2 IsVisible":1,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":1,"Companies IsVisible":1,"Consequence Management IsVisible":0,"Courses IsVisible":0,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":0,"Departments IsVisible":0,"Employee Recognition IsVisible":0,"Environment Management IsVisible":1,"Esg IsVisible":0,"FIR IsVisible":0,"Health IsVisible":0,"Health V2 IsVisible":0,"Heatmap IsVisible":1,"HIRA IsVisible":1,"HIRA V2 IsVisible":0,"Incident Management IsVisible":1,"Inspection V2 IsVisible":1,"Inspections IsVisible":1,"Inventory IsVisible":0,"Investigations IsVisible":0,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":0,"Library IsVisible":0,"Library V2 IsVisible":0,"MOC IsVisible":0,"Moc V2 IsVisible":0,"My training IsVisible":0,"Nominations IsVisible":1,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":1,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":1,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":0,"Processes IsVisible":0,"PSSR IsVisible":0,"Quality Management IsVisible":1,"r1 IsVisible":0,"r2 IsVisible":0,"r4 IsVisible":0,"r5 IsVisible":0,"r6 IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":0,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":1,"Tickets IsVisible":1,"TNI IsVisible":0,"TNI Progress IsVisible":0,"TNI V2 IsVisible":1,"Training register IsVisible":0,"Training report IsVisible":0,"Users IsVisible":1,"Visitor Management IsVisible":0,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":0,"Zones IsVisible":0},"PtwPreferences":null}}
API Response:


Unhandled Exception in Web Application

System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (&).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)


Unhandled Exception in Web Application


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 896


Unhandled Exception in Web API

System.OperationCanceledException: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()


MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)
   at MySql.Data.MySqlClient.MySqlStream.LoadPacket()
   at MySql.Data.MySqlClient.MySqlStream.LoadPacket()
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
--- 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 Dapper.SqlMapper.<QueryMultipleAsync>d__57.MoveNext()
--- 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.DAL.Repositories.PtwRepo.<>c__DisplayClass54_0.<<GetAllPermitToWork>b__1>d.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\PtwRepo.cs:line 2418
--- 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.DAL.Repositories.BaseRepo.<ExecuteQueryAsync>d__7`1.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\BaseRepo.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.DAL.Repositories.PtwRepo.<GetAllPermitToWork>d__54.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\PtwRepo.cs:line 2416
--- 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.PtwBLL.<GetAllPermitToWork>d__25.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\PtwBLL.cs:line 2556


Unhandled Exception in Web API


System.InvalidOperationException: ActionTrackerUidFormatOptions not found in PageFlags
   at IncidentReporter.API.BLL.ActionTrackersBll.<PrepareUidPartsAsync>d__18.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ActionTrackersBll.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.ActionTrackersBll.<GenerateActionTrackerUidAsync>d__24.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ActionTrackersBll.cs:line 1996
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at IncidentReporter.API.BLL.ActionTrackersBll.<GenerateBulkUidsPerSite>d__22.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ActionTrackersBll.cs:line 1925
--- 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.ActionTrackersBll.<CreateActionTrackerAsync>d__6.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ActionTrackersBll.cs:line 180

dfdfd

dfdfd


dfdf

dfdf


bhgvc

bhgvc


gvf

gvf


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":11,"EntityId":33043,"ChangedBy":{"UserId":267,"Name":"Sal Eaton"},"ChangeType":"Created","OldValue":null,"NewValue":{"Site":"Garcon Point","Department":null,"InspectionName":"tresting","AssetType":null,"InspectionType":"Alcohol Level Check","Status":"Draft","Asset":null,"AssignedTo":"Derek Cope","DueDate":"16-Jul-2026","NonOqshaAssets":null,"Sections":null,"AssociatedTasks":null,"Area":""}}
API Response:


dfdff

dfdff


Ensure to follow all the safety guidelines for height work.

Ensure to protect below the �work at height� area.

Make sure to provide Training to work force.

Fall arrest system to be provided for the suspended work platform.

Make sure to do Housekeeping & Provide TBT to entire Workforce.

Make sure to use proper handling of tools.

Don�t keep loose materials on the working platform.


fdf

fdf


Unhandled Exception in Web API

System.OperationCanceledException: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()


System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at IncidentReporter.DAL.Repositories.PtwRepo.GetExistingPtwConfigWithPtwConfigId(Int32 ptwConfigId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\PtwRepo.cs:line 9069
   at IncidentReporter.API.BLL.PtwBLL.<UpdatePtwConfiguration>d__110.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\PtwBLL.cs:line 8922


Compressed Gases (LPG, Dissolved Acetylene , etc)

Gas Cylinders/Torch with flash back arrestors

Check Cable & Holders of Welding Machine

Combustible / Flammable Materials removed

Third party, Competent Authority certification for

Certified persons for skilled work (Excavator/Crane operating, Welding, cutting, grinding, electrical work)

Risk has been assessed for this activity and appropriate controls are ensured

All the workers are clearly explained about risk and controls for this activity

Work site, Required Equipment and PPE are checked & found satisfactory to perform the work


All work under the work permit is fully completed

All temporary barriers, signage and equipment removed

No hazards lef on site (open trenches, exposed wires, sharp objects etc.) and adhere to 5S standards

Photos of completed workplace (mandatory)

Tools and materials removed from work area

Tools and materials are handed over to the concerned department


System.IO.IOException: The process cannot access the file 'D:\App-Data\iis\api.incidentreporter365.com\attachments\permittowork\exports\Temp\modifiedHtml.html' because it is being used by another process.
   at DocumentService.Pdf.PdfDocumentGenerator.GeneratePdfByTemplate(String toolFolderAbsolutePath, String templatePath, List`1 metaDataList, String outputFilePath)
   at IncidentReporter.API.Helpers.ExportPtwPDFHelper.ExportPtwPDF(PermitToWorkExportDBO ptw, String organisationBannerRelativePath, String organisationName, String outputAbsoluteFilePath, String templateFile, String timeZone, UserExistsInSiteAndCompanyDBO userExistsData, List`1 sectionsGroupedByJobType, PtwPreferences ptwOrgPreference) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Helpers\ExportPtwPDFHelper.cs:line 304
   at IncidentReporter.API.BLL.PtwBLL.<ExportPtwPDF>d__74.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\PtwBLL.cs:line 6057

Question: ?Export=true

Question: ?Export=true


AT 1

AT 1


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":43,"EntityId":257,"ChangedBy":{"UserId":3,"Name":"Raj kumar"},"ChangeType":"Updated","OldValue":{"OrganisationId":"282E0C","OrganisationName":"Citius Oncology Inc.","OrganisationType":"Warehouse","Packages":[{"PackageId":1,"InvoiceId":416,"StartDate":"2026-02-02T00:00:00","EndDate":"2026-05-03T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null},{"PackageId":1,"InvoiceId":431,"StartDate":"2026-05-03T00:00:00","EndDate":"2026-08-30T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":1,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":0,"Attendance IsVisible":0,"Audit Management IsVisible":0,"Audit V2 IsVisible":1,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":1,"Companies IsVisible":0,"Consequence Management IsVisible":0,"Courses IsVisible":1,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":1,"Departments IsVisible":0,"Employee Recognition IsVisible":0,"Environment Management IsVisible":1,"Esg IsVisible":0,"FIR IsVisible":1,"Health IsVisible":0,"Health V2 IsVisible":1,"Heatmap IsVisible":1,"HIRA IsVisible":1,"HIRA V2 IsVisible":0,"Incident Management IsVisible":1,"Inspection V2 IsVisible":1,"Inspections IsVisible":1,"Inventory IsVisible":0,"Investigations IsVisible":1,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":1,"Library IsVisible":0,"Library V2 IsVisible":0,"MOC IsVisible":0,"Moc V2 IsVisible":0,"My training IsVisible":1,"Nominations IsVisible":1,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":0,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":0,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":1,"Processes IsVisible":0,"PSSR IsVisible":0,"Quality Management IsVisible":1,"r1 IsVisible":0,"r2 IsVisible":0,"r4 IsVisible":0,"r5 IsVisible":0,"r6 IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":1,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":1,"Tickets IsVisible":0,"TNI IsVisible":1,"TNI Progress IsVisible":1,"TNI V2 IsVisible":1,"Training register IsVisible":1,"Training report IsVisible":1,"Users IsVisible":1,"Visitor Management IsVisible":0,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":0,"Zones IsVisible":1},"PtwPreferences":null},"NewValue":{"OrganisationId":"282E0C","OrganisationName":"Citius Oncology Inc.","OrganisationType":"Warehouse","Packages":[{"PackageId":1,"InvoiceId":416,"StartDate":"2026-02-02T00:00:00","EndDate":"2026-05-03T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null},{"PackageId":1,"InvoiceId":431,"StartDate":"2026-05-03T00:00:00","EndDate":"2026-08-30T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":1,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":0,"Attendance IsVisible":0,"Audit Management IsVisible":0,"Audit V2 IsVisible":1,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":1,"Companies IsVisible":0,"Consequence Management IsVisible":0,"Courses IsVisible":1,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":1,"Departments IsVisible":0,"Employee Recognition IsVisible":0,"Environment Management IsVisible":1,"Esg IsVisible":0,"FIR IsVisible":1,"Health IsVisible":0,"Health V2 IsVisible":1,"Heatmap IsVisible":1,"HIRA IsVisible":1,"HIRA V2 IsVisible":0,"Incident Management IsVisible":1,"Inspection V2 IsVisible":1,"Inspections IsVisible":1,"Inventory IsVisible":0,"Investigations IsVisible":1,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":1,"Library IsVisible":0,"Library V2 IsVisible":0,"MOC IsVisible":0,"Moc V2 IsVisible":0,"My training IsVisible":1,"Nominations IsVisible":1,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":0,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":0,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":1,"Processes IsVisible":0,"PSSR IsVisible":0,"Quality Management IsVisible":1,"r1 IsVisible":0,"r2 IsVisible":0,"r4 IsVisible":0,"r5 IsVisible":0,"r6 IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":1,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Sections IsVisible":0,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":1,"Tickets IsVisible":0,"TNI IsVisible":1,"TNI Progress IsVisible":1,"TNI V2 IsVisible":1,"Training register IsVisible":1,"Training report IsVisible":1,"Users IsVisible":1,"Visitor Management IsVisible":0,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":0,"Zones IsVisible":1},"PtwPreferences":null}}
API Response:


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":3,"EntityId":941,"ChangedBy":{"UserId":267,"Name":"Sal Eaton"},"ChangeType":"Created","OldValue":null,"NewValue":{"Name":"Investigation Report","CategoryDescription":"Investigation Report","EnableAssetAssociation":false,"SiteIds":null,"AssetTypeIds":"","Checklists":[]}}
API Response:


System.InvalidOperationException: Missing batches or nominated users for this TNI. Cannot allocate.
   at IncidentReporter.API.BLL.CoursesBLL.ProcessAllocationsInBackground(String connString, Int32 orgId, String organisationName, Int32 tniId, String tniName, Int32 currentUserId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\CoursesBLL.cs:line 6160


Unhandled Exception in Web API

Question: ?ModuleName=Work%20Permit%20V2&siteId=832&isActive=true


Unhandled Exception in Web Application


Unhandled Exception in Web API

System.InvalidOperationException: The given header was not found.
   at System.Net.Http.Headers.HttpHeaders.GetValues(String name)
   at IncidentReporter.API.Handlers.AcmAuthorise.GetToken(HttpActionContext actionContext) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\AcmAuthorise.cs:line 214
   at IncidentReporter.API.Handlers.AcmAuthorise.OnActionExecuting(HttpActionContext actionContext) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\Handlers\AcmAuthorise.cs:line 37
   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutingAsync(HttpActionContext actionContext, CancellationToken cancellationToken)
--- 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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- 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 System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- 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 System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- 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 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- 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 System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":43,"EntityId":257,"ChangedBy":{"UserId":3,"Name":"Raj kumar"},"ChangeType":"Updated","OldValue":{"OrganisationId":"282E0C","OrganisationName":"Citius Oncology Inc.","OrganisationType":"Warehouse","Packages":[{"PackageId":1,"InvoiceId":416,"StartDate":"2026-02-02T00:00:00","EndDate":"2026-05-03T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null},{"PackageId":1,"InvoiceId":431,"StartDate":"2026-05-03T00:00:00","EndDate":"2026-08-30T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":1,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":0,"Attendance IsVisible":0,"Audit Management IsVisible":0,"Audit V2 IsVisible":1,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":1,"Companies IsVisible":0,"Consequence Management IsVisible":0,"Courses IsVisible":1,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":1,"Departments IsVisible":0,"Employee Recognition IsVisible":0,"Environment Management IsVisible":1,"Esg IsVisible":0,"FIR IsVisible":1,"Health IsVisible":0,"Health V2 IsVisible":1,"Heatmap IsVisible":1,"HIRA IsVisible":1,"HIRA V2 IsVisible":0,"Incident Management IsVisible":1,"Inspection V2 IsVisible":1,"Inspections IsVisible":1,"Inventory IsVisible":0,"Investigations IsVisible":1,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":1,"Library IsVisible":0,"Library V2 IsVisible":0,"MOC IsVisible":0,"Moc V2 IsVisible":0,"My training IsVisible":1,"Nominations IsVisible":1,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":0,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":0,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":1,"Processes IsVisible":0,"PSSR IsVisible":0,"Quality Management IsVisible":1,"r1 IsVisible":0,"r2 IsVisible":0,"r4 IsVisible":0,"r5 IsVisible":0,"r6 IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":1,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Sections IsVisible":0,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":1,"Tickets IsVisible":0,"TNI IsVisible":1,"TNI Progress IsVisible":1,"TNI V2 IsVisible":1,"Training register IsVisible":1,"Training report IsVisible":1,"Users IsVisible":1,"Visitor Management IsVisible":0,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":0,"Zones IsVisible":1},"PtwPreferences":null},"NewValue":{"OrganisationId":"282E0C","OrganisationName":"Citius Oncology Inc.","OrganisationType":"Warehouse","Packages":[{"PackageId":1,"InvoiceId":416,"StartDate":"2026-02-02T00:00:00","EndDate":"2026-05-03T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null},{"PackageId":1,"InvoiceId":431,"StartDate":"2026-05-03T00:00:00","EndDate":"2026-08-30T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":""}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":1,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":0,"Attendance IsVisible":0,"Audit Management IsVisible":0,"Audit V2 IsVisible":1,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":1,"Companies IsVisible":0,"Consequence Management IsVisible":0,"Courses IsVisible":1,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":1,"Departments IsVisible":0,"Employee Recognition IsVisible":0,"Environment Management IsVisible":1,"Esg IsVisible":0,"FIR IsVisible":1,"Health IsVisible":0,"Health V2 IsVisible":1,"Heatmap IsVisible":1,"HIRA IsVisible":1,"HIRA V2 IsVisible":0,"Incident Management IsVisible":1,"Inspection V2 IsVisible":1,"Inspections IsVisible":1,"Inventory IsVisible":0,"Investigations IsVisible":1,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":1,"Library IsVisible":0,"Library V2 IsVisible":0,"MOC IsVisible":0,"Moc V2 IsVisible":0,"My training IsVisible":1,"Nominations IsVisible":1,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":0,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":0,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":1,"Processes IsVisible":0,"PSSR IsVisible":0,"Quality Management IsVisible":1,"r1 IsVisible":0,"r2 IsVisible":0,"r4 IsVisible":0,"r5 IsVisible":0,"r6 IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":1,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Sections IsVisible":0,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":1,"Tickets IsVisible":0,"TNI IsVisible":1,"TNI Progress IsVisible":1,"TNI V2 IsVisible":1,"Training register IsVisible":1,"Training report IsVisible":1,"Users IsVisible":1,"Visitor Management IsVisible":0,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":1,"Zones IsVisible":1},"PtwPreferences":null}}
API Response:


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":29,"EntityId":1955,"ChangedBy":{"UserId":1955,"Name":"Renard Whatley"},"ChangeType":"Updated","OldValue":{"DisplayName":"Renard Whatley","WhatsappCountryCode":"+91","WhatsappNumber":"2000000713","MobileCountryCode":"+91","MobileNumber":"2000000713","EmployeeCode":"MHC672","EmployeeType":"Employee","ContractStartedOn":"","ContractEndsOn":"","CompanyName":"Galecto Inc.","Department":"","DateOfJoining":"","DateOfBirth":null,"ReportingManager":"","EmergencyContactName":"","EmergencyContactNumber":"","Address":"Mount Olive","AdditionalQualifications":null,"Email":"MH_Admin_HO@oqsha.com","UserUid":"9100999124","ShowAllTickets":"Yes","SeeAllPtw":"Yes","ReceiveAllPtwNotifications":"No","ExemptFromGeofencing":"No","ViewAllInspections":"No","ReceiveAttendanceNotification":"No","Sites":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda","Role":"Admin","PtwRole":"","TypeOfPermits":"Blasting Work, Concrete Work, Confined Space Entry, De-shuttering Work, Electrical Work, Excavation Work, General Work, Hot Work, Lifting Work, Mechanical Activity, Night Work, Shaft Activity, Testing","AssetTypes":"P&M, Portable Electrical Tools, Electrical Equipment, Safety equipment, Safety Inspection","IsUserActive":"Active"},"NewValue":{"DisplayName":"Renard Whatley","WhatsappCountryCode":"+91","WhatsappNumber":"2000000713","MobileCountryCode":"+91","MobileNumber":"2000000713","EmployeeCode":"MHC672","EmployeeType":"Employee","ContractStartedOn":"","ContractEndsOn":"","CompanyName":"Galecto Inc.","Department":"","DateOfJoining":"","DateOfBirth":null,"ReportingManager":"","EmergencyContactName":"","EmergencyContactNumber":"","Address":"Mount Olive","AdditionalQualifications":null,"Email":"MH_Admin_HO@oqsha.com","UserUid":"9100999124","ShowAllTickets":"Yes","SeeAllPtw":"Yes","ReceiveAllPtwNotifications":"No","ExemptFromGeofencing":"No","ViewAllInspections":"No","ReceiveAttendanceNotification":"No","Sites":"Alanreed, Bowers, Council Bluffs, Cowgill, Fleischmanns, Fort Myers Beach, Galeville, Leeper, Rosewood, Suffield Depot, Vinings, Weldona, Yorba Linda","Role":"Admin","PtwRole":"Requestor","TypeOfPermits":"Blasting Work, Concrete Work, Confined Space Entry, De-shuttering Work, Electrical Work, Excavation Work, General Work, Hot Work, Lifting Work, Mechanical Activity, Night Work, Shaft Activity, Testing","AssetTypes":"P&M, Portable Electrical Tools, Electrical Equipment, Safety equipment, Safety Inspection, Civil, Store, Default","IsUserActive":"Active"}}
API Response:


Workers must be provided with safe access to the work.

Acrophobia test of worker. (Height Phobia etc.)

De-shuttering materials should be kept away properly in working areas

Do not overload the working platform with materials.

Ensure adequate supervision and experienced carpenters for safe works.

Ensure proper scaffolding working platform is used.

The de-Shuttering area should be barricaded before starting work.

Inspection of working scaffolds, ladders, ramps and crossings.

Maintenance of good housekeeping around the working area and Access.

Avoid throwing shuttering materials from a height.

Using a Pulley & rope system to lower the de-shuttering materials.

Guarding of peripheral edges and floor openings.

Safety training of workmen involved in formwork?

Removal of all unused and hanging forms, loose materials, etc.

De-shuttering columns after the development of adequate strength in concrete.

Construction loads not placed on the freshly cast slab while removal of formwork.


Unhandled Exception in Web API


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":43,"EntityId":264,"ChangedBy":{"UserId":1,"Name":"Srinivas"},"ChangeType":"Updated","OldValue":{"OrganisationId":"5682F8","OrganisationName":"Neveu","OrganisationType":"Warehouse","Packages":[{"PackageId":1,"InvoiceId":425,"StartDate":"2026-03-30T00:00:00","EndDate":"2027-06-28T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":1,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":0,"Attendance IsVisible":0,"Audit Management IsVisible":1,"Audit V2 IsVisible":0,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":0,"Companies IsVisible":1,"Consequence Management IsVisible":0,"Courses IsVisible":1,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":1,"Departments IsVisible":1,"Employee Recognition IsVisible":0,"Environment Management IsVisible":0,"Esg IsVisible":0,"FIR IsVisible":1,"Health IsVisible":0,"Health V2 IsVisible":0,"Heatmap IsVisible":0,"HIRA IsVisible":0,"HIRA V2 IsVisible":0,"Incident Management IsVisible":0,"Inspection V2 IsVisible":0,"Inspections IsVisible":0,"Inventory IsVisible":0,"Investigations IsVisible":1,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":0,"Library IsVisible":0,"Library V2 IsVisible":1,"MOC IsVisible":0,"Moc V2 IsVisible":0,"My training IsVisible":1,"Nominations IsVisible":1,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":0,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":0,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":0,"Processes IsVisible":0,"PSSR IsVisible":0,"Quality Management IsVisible":0,"r1 IsVisible":0,"r2 IsVisible":0,"r4 IsVisible":0,"r5 IsVisible":0,"r6 IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":1,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Sections IsVisible":1,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":0,"Tickets IsVisible":0,"TNI IsVisible":1,"TNI Progress IsVisible":1,"TNI V2 IsVisible":0,"Training register IsVisible":1,"Training report IsVisible":1,"Users IsVisible":1,"Visitor Management IsVisible":0,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":1,"Zones IsVisible":0},"PtwPreferences":null},"NewValue":{"OrganisationId":"5682F8","OrganisationName":"Neveu","OrganisationType":"Warehouse","Packages":[{"PackageId":1,"InvoiceId":425,"StartDate":"2026-03-30T00:00:00","EndDate":"2027-06-28T00:00:00","OrganisationId":null,"IsActive":null,"CreatedOn":"0001-01-01T00:00:00","ModifiedOn":"0001-01-01T00:00:00","Comments":null}],"EnabledPayments":"No","EnableSMSNotifications":"No","EnableCallOut":"No","OrganisationModules":{"Action Trackers IsVisible":1,"Appointments IsVisible":0,"Areas IsVisible":0,"Assets IsVisible":0,"Attendance IsVisible":0,"Audit Management IsVisible":1,"Audit V2 IsVisible":0,"Breakdown Maintenance IsVisible":0,"Bulk Export IsVisible":1,"Companies IsVisible":1,"Consequence Management IsVisible":0,"Courses IsVisible":1,"Customer Complaints IsVisible":0,"Dashboard IsVisible":1,"Dashboard V2 IsVisible":1,"Departments IsVisible":1,"Employee Recognition IsVisible":0,"Environment Management IsVisible":0,"Esg IsVisible":0,"FIR IsVisible":1,"Health IsVisible":0,"Health V2 IsVisible":0,"Heatmap IsVisible":0,"HIRA IsVisible":0,"HIRA V2 IsVisible":0,"Incident Management IsVisible":0,"Inspection V2 IsVisible":0,"Inspections IsVisible":0,"Inventory IsVisible":0,"Investigations IsVisible":1,"IoT Device Types IsVisible":0,"IoT Devices IsVisible":0,"KPI IsVisible":0,"Library IsVisible":0,"Library V2 IsVisible":1,"MOC IsVisible":0,"Moc V2 IsVisible":0,"My training IsVisible":1,"Nominations IsVisible":1,"Notifications IsVisible":0,"Oqo Chatbot IsVisible":0,"Organisations IsVisible":1,"OsmoVision IsVisible":0,"Periodic Health Checkup IsVisible":0,"Permit to work IsVisible":0,"PMC V2 IsVisible":0,"PPE Issuance IsVisible":0,"Pre Startup Safety Review IsVisible":0,"Preventive Maintenance IsVisible":0,"Processes IsVisible":0,"Projects IsVisible":0,"PSSR IsVisible":0,"Quality Management IsVisible":0,"r1 IsVisible":0,"r2 IsVisible":0,"r4 IsVisible":0,"r5 IsVisible":0,"r6 IsVisible":0,"Reports IsVisible":0,"Roles IsVisible":1,"Safety Alerts IsVisible":1,"Safety Kaizen IsVisible":0,"Safety Kaizen V2 IsVisible":0,"Sections IsVisible":1,"Setup IsVisible":1,"Sites IsVisible":1,"Support IsVisible":0,"Tasks IsVisible":0,"Tickets IsVisible":0,"TNI IsVisible":1,"TNI Progress IsVisible":1,"TNI V2 IsVisible":0,"Training register IsVisible":1,"Training report IsVisible":1,"Users IsVisible":1,"Visitor Management IsVisible":0,"Work Permit IsVisible":0,"Work Permit V2 IsVisible":1,"Zones IsVisible":0},"PtwPreferences":null}}
API Response:


Unhandled Exception in Web API

System.OperationCanceledException: The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":17,"EntityId":371,"ChangedBy":{"UserId":267,"Name":"Sal Eaton"},"ChangeType":"Created","OldValue":null,"NewValue":{"Sites":"Beaverdam","DepartmentName":"DEMO","Location":""}}
API Response:


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":31,"EntityId":477,"ChangedBy":{"UserId":267,"Name":"Sal Eaton"},"ChangeType":"Updated","OldValue":{"Name":"Safety Head","Description":"Safety Head","Privileges":{"Projects.Read":0,"Projects.Create":0,"Projects.Update":0}},"NewValue":{"Name":"Safety Head","Description":"Safety Head","Privileges":{"Projects.Read":2,"Projects.Create":2,"Projects.Update":2}}}
API Response:

Safety Head

Safety Head


MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'u1.display_name' in 'WHERE'
   at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
   at System.Data.Common.DbCommand.ExecuteScalarAsync(CancellationToken cancellationToken)
--- 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 Dapper.SqlMapper.<ExecuteScalarImplAsync>d__66`1.MoveNext()
--- 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.DAL.Repositories.ProjectsRepo.<GetAllProjectsAsync>d__7.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.DAL\Repositories\ProjectsRepo.cs:line 279
--- 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.ProjectsBLL.<GetAllProjectsAsync>d__8.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\ProjectsBLL.cs:line 254


Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":11,"EntityId":33044,"ChangedBy":{"UserId":678,"Name":"Giselle Angle"},"ChangeType":"Created","OldValue":null,"NewValue":{"Site":"Parkerfield","Department":"Account","InspectionName":null,"AssetType":"Filler","InspectionType":"Filler - CIL","Status":"Inspected","Asset":"Filler - FILLER 34","AssignedTo":"Giselle Angle","DueDate":"06-Jul-2026","NonOqshaAssets":null,"Sections":null,"AssociatedTasks":null,"Area":""}}
API Response:

1) Clean the rinser/Rinser Tanks/Filters

Standard: Free of glass pieces and dirt                                                                                Action: Clean of glass pieces/dust/particles/filters

2. Clean & Inspect - Capper Hopper, Chute and Feeder

1) Clean the Hopper/Chute & Feeder
2) Check & Clean the Sensors of Chute and Feeder

Standard: Hopper/ Chute & Feeder must be free from Dust.                                    Action: Clean with White Cloth for removing all the Dust & Dirts
Standard: All Sensors must be clean & Working properly                                         Action: Sensors should be cleaned with Cloth to remove dust and to be checked visually

Remove the excess glass, caps, product and other debris.

Standard: Nozzle free from blockage                                                                          Action: If any nozzle blocked, stop the machine and clean

5. Inspect - Filling valve side guide spring

Check for free movement of guide springs and center springs

Standard: Verify the movement of springs and it should not be stuck.
Action: If stuck, lubricate with food grade grease oks 475

1) Check spring for free movement
2) Check the Skirt & Thread rollers

Standard: Capping head rollers not sticking and free movement                                        Action: Rollers clean of restriction

1) Inspect condition of each unit. Verify alignment to the cam follower, check pu tubbing and check complete assembly

1) Check the bottle Gripper
2) Check the Nozzle Alignment
3) PU tubing free from blockages.                                                   4) Look for water leakage in pu tube

Look for tightness & condition of the Chain Sprockets and lubricate it

1) Check for leaks, bent.
2) Check the rubber parts

If leaks or bent are found notify to Operator and rectify it.
If any rubber parts wear out/damage notify to Operator and replace it.

1) Inspect the stars top screw nuts are in place and secure
2)  Ensure that guides are tight

11. Lubricate - Auto Lubricator in the lower side of the machine

Make sure its half full or more oil
If not Notify the same with executive and fill it with 20W40 oil