Error in ingest function: Temperature does not exist on component. Please provide a valid patch document. See section on update apis in the documentation https://aka.ms/adtv2twins.

Juanhe Shen 50 Reputation points
2023-10-02T19:03:02.83+00:00

[Error] Error in ingest function: Temperature does not exist on component. Please provide a valid patch document. See section on update apis in the documentation https://aka.ms/adtv2twins. Status: 400 (Bad Request) ErrorCode: JsonPatchInvalid.

I was able to log my temperature info and device ID (which matched my digital twin device ID). It kept telling me the temperature does not exist on component. There is no typo or mistakes in wording. When I was trying to log the update twin data in string format, it shows nothing. Screenshot 2023-10-02 150112

Screenshot 2023-10-02 150243

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
221 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde 29,856 Reputation points MVP
    2023-10-02T19:30:57.37+00:00

    Hello @Juanhe Shen ,

    I remember I have seen this message in the past too.

    I had to give the property an initial value first.

    Does this temperature have a value already?


    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.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful