{ "timestamp": "2026-07-05 08:30:56.1437", "level": "Error", "severity": "ERROR", "TraceId": "062a338f-311b-40a8-8385-178e4bae417d", "message": "An unexpected error occurred.", "stackTrace": "System.Exception: An unexpected error occurred.\r\n   at IncidentReporter.API.BLL.IotDevicesBLL.<GetUnassociatedIotDeviceById>d__26.MoveNext() in C:\\GitLab-Runner\\builds\\27n6lYj0J\\0\\incident-reporter\\incident-reporter-api\\IncidentReporter\\IncidentReporter.API\\BLL\\IotDevicesBLL.cs:line 1299", "ApiInput": {"Method":"GET","Url":"https://api-sandbox.oqsha.com/Organisations/256/Device/Unassociated","Route":"/Organisations/256/Device/Unassociated","Query":"","Body":""}, "MethodName": "GetUnassociatedIotDeviceById", "EntryPoint": "API", "InputData": null, "TraceId": "062a338f-311b-40a8-8385-178e4bae417d", "ApiInputJson": "{\"Method\":\"GET\",\"Url\":\"https:\/\/api-sandbox.oqsha.com\/Organisations\/256\/Device\/Unassociated\",\"Route\":\"\/Organisations\/256\/Device\/Unassociated\",\"Query\":\"\",\"Body\":\"\"}" }
{ "timestamp": "2026-07-05 08:31:13.9569", "level": "Error", "severity": "ERROR", "TraceId": "c6aab5b5-8750-4faa-bd20-ef7d6c061b07", "message": "Failed to send audit log: Unauthorized\nRequest Payload: {\"EntityTypeId\":28,\"EntityId\":18486,\"ChangedBy\":{\"UserId\":267,\"Name\":\"Sal Eaton\"},\"ChangeType\":\"Created\",\"OldValue\":null,\"NewValue\":{\"Sites\":\"Fletcher, Woodsburgh, Bland, De Land, Blencoe, Highland Falls, St. Johns, Peotone, Ellinger, Bothell East, Waterville, Foothill Farms, East Newark, Mahanoy City, Johnson Park, Collins Colony, Richton, Magnolia Beach, West Pleasant View, Lake Havasu City, North Fairfield, North Tunica, Island Pond, Falkville, Newton Hamilton, Ormond Beach, Dustin, Guymon\",\"AssetId\":\"2345\",\"Name\":\"testing\",\"Brand\":\"\",\"Model\":\"\",\"Status\":\"Active\",\"AssetType\":\"Ambulance\",\"Description\":\"\"}}\nAPI Response: ", "ApiInput": {"Method":"POST","Url":"https://api-sandbox.oqsha.com/Organisations/256/Assets","Route":"/Organisations/256/Assets","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
{ "timestamp": "2026-07-05 08:31:14.5510", "level": "Error", "severity": "ERROR", "TraceId": "7c7c3c07-e103-4fad-b4cf-755a7997287a", "message": "Failed to send audit log: Unauthorized\nRequest Payload: {\"EntityTypeId\":28,\"EntityId\":18486,\"ChangedBy\":{\"UserId\":267,\"Name\":\"Sal Eaton\"},\"ChangeType\":\"Updated\",\"OldValue\":{\"Sites\":\"Fletcher, Woodsburgh, Bland, De Land, Blencoe, Highland Falls, St. Johns, Peotone, Ellinger, Bothell East, Waterville, Foothill Farms, East Newark, Mahanoy City, Johnson Park, Collins Colony, Richton, Magnolia Beach, West Pleasant View, Lake Havasu City, North Fairfield, North Tunica, Island Pond, Falkville, Newton Hamilton, Ormond Beach, Dustin, Guymon\",\"AssetId\":\"2345\",\"Name\":\"testing\",\"Brand\":\"\",\"Model\":\"\",\"Status\":\"Active\",\"AssetType\":\"Ambulance\",\"Description\":\"\"},\"NewValue\":{\"Sites\":\"Fletcher, Woodsburgh, Bland, De Land, Blencoe, Highland Falls, St. Johns, Peotone, Ellinger, Bothell East, Waterville, Foothill Farms, East Newark, Mahanoy City, Johnson Park, Collins Colony, Richton, Magnolia Beach, West Pleasant View, Lake Havasu City, North Fairfield, North Tunica, Island Pond, Falkville, Newton Hamilton, Ormond Beach, Dustin, Guymon\",\"AssetId\":\"2345\",\"Name\":\"testing\",\"Brand\":\"\",\"Model\":\"\",\"Status\":\"Active\",\"AssetType\":\"Ambulance\",\"Description\":\"\"}}\nAPI Response: ", "ApiInput": {"Method":"PUT","Url":"https://api-sandbox.oqsha.com/Organisations/256/Assets/18486","Route":"/Organisations/256/Assets/18486","Query":"","Body":"*** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***"} }
