IoT Hub to Azure Blockchain integration

Copper Contributor

I am following below document to simulate the IoT to Azure blockchain workbench 

 

https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/iot-integration-samples...

 

The IoT message can send to the logicApp but it stuck in the store procedure and it display below error

 1.PNG2.PNG

3 Replies

it works when I put the device name instead of GUID() 

401.PNG

 

But in the next setup when I copy and paste the JSON Code, it trigger below errors

 

402.PNG


Here is the Error Message
{
"message": "Invalid type. Expected Object but got Array.",
"lineNumber": 0,
"linePosition": 0,
"path": "",
"schemaId": "#",
"errorType": "type",
"childErrors": []
}
]

For the IoT sample, you need to update the database first. Specifically, modify the ExternalID in the database for the User you set up for the device, changing the ExternalID value to the identifier sent from IoT Hub for the device.

 

You then put this in the stored procedure and you should see the values that you would expect.