Azure Function App Erro

Jayashri Goddanti 45 Reputation points
2024-04-29T15:01:13.56+00:00

Hi Everyone,

I am currently working as a newcomer in the realm of Azure Digital Twins. I am reaching out to seek your expertise on a particular issue I've encountered. I am pleased to say that I have successfully managed to transmit data into the Azure IoT Hub. However, I have encountered a challenge in the subsequent step of my process. I have developed a function app with the intention of facilitating the transfer of data from the IoT Hub to Azure Digital Twins. Regrettably, I have encountered an error message stating: 'Error in ingest function: Cannot access child value on Newtonsoft.Json.Linq.JValue.' as shown in the image. I have already contacted Azure regarding this but they say that it needs to be in the form of JSON for this message to go and I also checked from the Twincat side that it is JSON. Not sure where I am going wrong. Thanks.Picture11

t11

Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
439 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 36,146 Reputation points MVP
    2024-04-29T15:16:31.81+00:00

    Hello @Jayashri Goddanti ,

    welcome to this moderated Azure community forum.

    The body you get in the Azure Function is a BASE64 version of that JSON string seen in the IoT Explorer preview.

    Please decode the body BASE64 string to JSON using the programming language (like C#) you use (every language has libraries for BASE64).

    You can check this decoding with websites like this.


    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.