Azure-Samples / Azure-Samples/azure-iot-central-samples-csharp

Microsoft.Azure.IoTCentral.Models.ErrorException: Operation returned an invalid status code 'NotFound'

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.