{"timestamp": "2026-03-16 05:55:22.759", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0"}
{"timestamp": "2026-03-16 05:55:23.173", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 05:55:28.936", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0"}
{"timestamp": "2026-03-16 05:55:28.944", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 05:55:37.008", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0"}
{"timestamp": "2026-03-16 05:55:37.008", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 06:32:39.369", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Unhandled Exception in Web API", "stackTrace": "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()"}
{"timestamp": "2026-03-16 06:32:39.369", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Unhandled Exception in Web API", "stackTrace": "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.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()"}
{"timestamp": "2026-03-16 06:32:39.369", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Unhandled Exception in Web API", "stackTrace": "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()"}
{"timestamp": "2026-03-16 07:10:51.250", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":975,"ChangedBy":{"UserId":11127,"Name":"Gary Bhatia"},"ChangeType":"Created","OldValue":null,"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Housekeeping","DepartmentIncharge":null,"TypeOfPermit":"Crane Lifts & Critical Rigging","Contractor":"","NameOfRequestor":"Gary Bhatia","Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"12:40 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":"Submit","Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 07:11:33.354", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":975,"ChangedBy":{"UserId":11123,"Name":"Zbigniew Calvin"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Housekeeping","DepartmentIncharge":null,"TypeOfPermit":"Crane Lifts & Critical Rigging","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"12:40 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Housekeeping","DepartmentIncharge":null,"TypeOfPermit":"Crane Lifts & Critical Rigging","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"12:40 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 07:12:10.464", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":975,"ChangedBy":{"UserId":11127,"Name":"Gary Bhatia"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Housekeeping","DepartmentIncharge":null,"TypeOfPermit":"Crane Lifts & Critical Rigging","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"12:40 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Housekeeping","DepartmentIncharge":null,"TypeOfPermit":"Crane Lifts & Critical Rigging","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"12:40 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 07:12:22.570", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":975,"ChangedBy":{"UserId":11127,"Name":"Gary Bhatia"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Housekeeping","DepartmentIncharge":null,"TypeOfPermit":"Crane Lifts & Critical Rigging","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"12:40 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Housekeeping","DepartmentIncharge":null,"TypeOfPermit":"Crane Lifts & Critical Rigging","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"12:40 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 07:53:58.907", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":917,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Electrical","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"Citizens Community Bancorp Inc.","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"12-Mar-2026","WorkPermitDateEnd":"12-Mar-2026","WorkPermitTimeStart":"04:00 AM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Electrical","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"Citizens Community Bancorp Inc.","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"12-Mar-2026","WorkPermitDateEnd":"12-Mar-2026","WorkPermitTimeStart":"04:00 AM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 07:54:04.630", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":917,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Electrical","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"Citizens Community Bancorp Inc.","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"12-Mar-2026","WorkPermitDateEnd":"12-Mar-2026","WorkPermitTimeStart":"04:00 AM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Electrical","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"Citizens Community Bancorp Inc.","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"12-Mar-2026","WorkPermitDateEnd":"12-Mar-2026","WorkPermitTimeStart":"04:00 AM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:05:22.962", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":976,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Created","OldValue":null,"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Admin","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":"Deonta Soukup","Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"02:45 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":"Submit","Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:06:28.534", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":976,"ChangedBy":{"UserId":5698,"Name":"Derek Boatman"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Admin","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"02:45 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Admin","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"02:45 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:06:46.286", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":976,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Admin","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"02:45 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Admin","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"02:45 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:06:53.613", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":976,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Admin","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"02:45 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Admin","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"02:45 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:53:18.465", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Created","OldValue":null,"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":"Deonta Soukup","Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":"Submit","Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:54:01.234", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":5698,"Name":"Derek Boatman"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:54:10.364", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:54:22.273", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:54:27.468", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:54:27.484", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045"}
{"timestamp": "2026-03-16 09:54:27.522", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 09:54:32.785", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:54:32.792", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045"}
{"timestamp": "2026-03-16 09:54:32.792", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 09:58:16.176", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:58:16.207", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045"}
{"timestamp": "2026-03-16 09:58:16.362", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 09:58:49.050", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:58:59.717", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 09:58:59.745", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045"}
{"timestamp": "2026-03-16 09:58:59.745", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 10:45:33.726", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":977,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"03:30 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:45:33.745", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045", "stackTrace": "System.NullReferenceException: Object reference not set to an instance of an object.
   at IncidentReporter.API.BLL.WorkPermitBLL.<UpdateWorkPermitAsync>d__11.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\WorkPermitBLL.cs:line 1045"}
{"timestamp": "2026-03-16 10:45:33.756", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 10:46:07.004", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":978,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Created","OldValue":null,"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":"Deonta Soukup","Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":"Submit","Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:46:55.253", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":978,"ChangedBy":{"UserId":5698,"Name":"Derek Boatman"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:47:17.184", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":978,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:47:32.740", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":978,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:48:38.025", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":978,"ChangedBy":{"UserId":5698,"Name":"Derek Boatman"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:49:25.394", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":978,"ChangedBy":{"UserId":4206,"Name":"Deonta Soukup"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:49:37.018", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":26,"EntityId":978,"ChangedBy":{"UserId":5698,"Name":"Derek Boatman"},"ChangeType":"Updated","OldValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""},"NewValue":{"Uid":null,"SiteName":"Morgan's Point Resort","Department":"Maintenance","DepartmentIncharge":null,"TypeOfPermit":"Confined Space","Contractor":"QuantumScape Corporation","NameOfRequestor":null,"Shift":null,"WorkPermitDateStart":"16-Mar-2026","WorkPermitDateEnd":"16-Mar-2026","WorkPermitTimeStart":"04:15 PM","WorkPermitTimeEnd":"06:00 PM","IsManualPtw":false,"Approvers":null,"Status":null,"Description":"","Location":""}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 10:52:38.474", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0"}
{"timestamp": "2026-03-16 10:52:38.504", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 10:52:42.319", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 5432
   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in D:\work\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\UsersBLL.cs:line 0"}
{"timestamp": "2026-03-16 10:52:42.331", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send log: Unauthorized", "stackTrace": ""}
{"timestamp": "2026-03-16 10:53:58.825", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":29,"EntityId":11282,"ChangedBy":{"UserId":1202,"Name":"Giselle Longo"},"ChangeType":"Updated","OldValue":{"DisplayName":"Mary Ann Blackmore","WhatsappCountryCode":"+91","WhatsappNumber":"2000003825","MobileCountryCode":"+91","MobileNumber":"2000003825","EmployeeCode":null,"EmployeeType":"Employee","ContractStartedOn":"","ContractEndsOn":"","CompanyName":"Kura Oncology Inc.","Department":"Production","DateOfJoining":"19-Feb-2025 05:30:00 AM","DateOfBirth":"06-16-1999","ReportingManager":null,"EmergencyContactName":null,"EmergencyContactNumber":null,"Address":"","AdditionalQualifications":null,"Email":null,"UserUid":null,"ShowAllTickets":"Yes","SeeAllPtw":"No","ReceiveAllPtwNotifications":"No","ExemptFromGeofencing":"Yes","ViewAllInspections":"No","ReceiveAttendanceNotification":"No","Sites":"Hickory Grove","Role":"Department Engineer","PtwRole":"","TypeOfPermits":"","AssetTypes":"","IsUserActive":"Active"},"NewValue":{"DisplayName":"Mary Ann Blackmore","WhatsappCountryCode":"+91","WhatsappNumber":"2000003825","MobileCountryCode":"+91","MobileNumber":"2000003825","EmployeeCode":"","EmployeeType":"Employee","ContractStartedOn":"","ContractEndsOn":"","CompanyName":"Kura Oncology Inc.","Department":"Production","DateOfJoining":"19-Feb-2025 05:30:00 AM","DateOfBirth":"06-16-1999","ReportingManager":null,"EmergencyContactName":"","EmergencyContactNumber":"","Address":"","AdditionalQualifications":null,"Email":null,"UserUid":null,"ShowAllTickets":"Yes","SeeAllPtw":"No","ReceiveAllPtwNotifications":"No","ExemptFromGeofencing":"Yes","ViewAllInspections":"No","ReceiveAttendanceNotification":"No","Sites":"Hickory Grove","Role":"Department Engineer","PtwRole":"","TypeOfPermits":"","AssetTypes":"","IsUserActive":"Active"}}
API Response: ", "stackTrace": ""}
{"timestamp": "2026-03-16 11:34:49.045", "level": "Error", "severity": "ERROR", "requestId": "", "httpMethod": "", "requestUrl": "", "message": "Failed to send audit log: Unauthorized
Request Payload: {"EntityTypeId":11,"EntityId":12679,"ChangedBy":{"UserId":2,"Name":"Rosie Swafford"},"ChangeType":"Created","OldValue":null,"NewValue":{"Site":"Austin","Department":null,"InspectionName":"16March","AssetType":"Pick & Carry Crane","InspectionType":"Checklist for Pick & Carry Crane","Status":"Inspected","Asset":null,"AssignedTo":"","DueDate":"18-Mar-2026","NonOqshaAssets":null,"Sections":null,"AssociatedTasks":null,"Area":""}}
API Response: ", "stackTrace": ""}
{ "timestamp": "2026-03-16 12:33:36.7832", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:34:49.4398", "level": "Error", "severity": "ERROR", "message": "A potentially dangerous Request.Path value was detected from the client (:).", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-03-16 12:34:50.3249", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:35:31.7723", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:35:47.1020", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:38:09.9096", "level": "Error", "severity": "ERROR", "message": "A generic error occurred in GDI+.", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.\r\n   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)\r\n   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 5432\r\n   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 0" }
{ "timestamp": "2026-03-16 12:38:09.9391", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:38:22.1401", "level": "Error", "severity": "ERROR", "message": "A generic error occurred in GDI+.", "stackTrace": "System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.\r\n   at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)\r\n   at IncidentReporter.API.BLL.UsersBLL.GenerateAndStoreQrCode(String qrCodeUrl, Int32 userId) in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 5432\r\n   at IncidentReporter.API.BLL.UsersBLL.<AddAllUserTypes>d__78.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\UsersBLL.cs:line 0" }
{ "timestamp": "2026-03-16 12:38:22.1507", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:43:20.9383", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:43:54.5517", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:44:13.4613", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:44:26.9252", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:44:56.9493", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:53:08.2972", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:54:32.2187", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 12:56:56.1464", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 13:14:05.3295", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 13:29:09.6836", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 13:53:14.0724", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 13:53:58.2455", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 13:55:13.3478", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 13:55:54.2617", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 14:34:26.2626", "level": "Error", "severity": "ERROR", "message": "A potentially dangerous Request.Path value was detected from the client (:).", "stackTrace": "System.Web.HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).\r\n   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()\r\n   at System.Web.HttpApplication.PipelineStepManager.ValidateHelper(HttpContext context)" }
{ "timestamp": "2026-03-16 16:29:31.6521", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:29:31.6521", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:29:31.6521", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:29:31.6521", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:29:31.6521", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:29:31.6521", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:29:31.6928", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:29:31.8300", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 16:31:25.5901", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 19:03:32.4926", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 19:20:34.0741", "level": "Error", "severity": "ERROR" }
{ "timestamp": "2026-03-16 19:42:08.3662", "level": "Error", "severity": "ERROR" }
