Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
233 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Model:
Error on Update:
{
"code": "ValidationFailed",
"message": "Invalid twin specified",
"details": [
{
"code": "ValidationFailed",
"message": "Temperature does not appear on the DTDL for Twin."
}
]
}
On update of other two field it's working fine:
On update of other two field it's working fine:
Output:
[
{
"op": "replace",
"path": "/equipment",
"value": "Crust1."
},
{
"op": "replace",
"path": "/CrustHardness",
"value": "59"
}
]
Hello @Ankit Kumar Srivastava,
Can you give the temperature a default value (eg. by altering it in the Twin explorer)?
It's not clear if you perform an 'update' or 'add' patch but ADT is a bit sensitive about this.
So give it a default temperature (like 0) and try again.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.