Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK version :2.0.0-preview007 CreateAsync() Json Error #3411

Open
timtay-microsoft opened this issue Dec 15, 2023 Discussed in #3409 · 0 comments
Open

SDK version :2.0.0-preview007 CreateAsync() Json Error #3411

timtay-microsoft opened this issue Dec 15, 2023 Discussed in #3409 · 0 comments
Labels
bug Something isn't working. IoTSDK Tracks all IoT SDK issues across the board v2 This issue is relevant or will only be addressed in v2.0.0+

Comments

@timtay-microsoft
Copy link
Member

Discussed in #3409

Originally posted by chandra-rayaprol December 12, 2023
The method IotHubServiceClient.Devices.CreateAsync(new Device("deviceId");
is throwing an exception:
Newtonsoft.Json.JsonReaderException: Could not convert string to DateTimeOffset: 0001-01-01T00:00:00. Path 'connectionStateUpdatedTime with ...
Could you please help me in resolving this issue?

.NET version 8
Microsoft.Azure.Devices SDK version :2.0.0-preview007

@github-actions github-actions bot added the IoTSDK Tracks all IoT SDK issues across the board label Dec 15, 2023
@timtay-microsoft timtay-microsoft added v2 This issue is relevant or will only be addressed in v2.0.0+ bug Something isn't working. labels Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. IoTSDK Tracks all IoT SDK issues across the board v2 This issue is relevant or will only be addressed in v2.0.0+
Projects
None yet
Development

No branches or pull requests

1 participant