Azure / Azure/azure-iot-service-sdk-java

Service SDK does not allow empty twin property value with twin update

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Hi,
when we try to delete a twin field by setting the property value to string null(empty), we get exception from the service SDK:
"ErrorCode: ArgumentInvalid; Value of Property or Tag cannot be null. Error in Property/Tag version Tracking"

Since IotHub allows empty property value, does not it need to supported from the service SDK side?
Also, just to confirm, the property will be removed from the twin after the request is successful as seen in the IoTHub?

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.