Is there any update on this SDK available - it no longer seems to be working.
try
{
device = await devices.GetAsync(deviceId, cancellationTokenSource.Token);
}
catch (Exception e)
{
eventLog.WriteEntry($"Exception getting the device {deviceId}: {e} !");
await LogResponse($"StationID {StationId} not found: {e}", null, 0);
return false;
}
This returns with the following error:
Microsoft.Azure.IoTCentral.Models.ErrorException: Operation returned an invalid status code 'NotFound'
Is there any update on this SDK available - it no longer seems to be working.
try
{
device = await devices.GetAsync(deviceId, cancellationTokenSource.Token);
}
catch (Exception e)
{
eventLog.WriteEntry($"Exception getting the device {deviceId}: {e} !");
await LogResponse($"StationID {StationId} not found: {e}", null, 0);
return false;
}
This returns with the following error:
Microsoft.Azure.IoTCentral.Models.ErrorException: Operation returned an invalid status code 'NotFound'