level: Error

severity: ERROR

message: An unexpected error occurred.

stackTrace:
System.Exception: An unexpected error occurred.
   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

Method: GET

MethodName: GetUnassociatedIotDeviceById

EntryPoint: API


message:
Failed to send audit log: Unauthorized
Request 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":""}}
API Response:

Method: POST

Body: *** MULTIPART FORM DATA / FILE UPLOAD (OMITTED FOR LOGGING) ***


message:
Failed to send audit log: Unauthorized
Request 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":""}}
API Response:

Method: PUT