Skip to content

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

Description

@duncangroenewald

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions