Azure-Samples / iot-hub-python-get-started

This Python sample app is used by the getting started content to demonstrate how easy it is to create an IoTHub Instance on Azure portal, and register a new device for the IoTHub, then send a message from device (simulated device app) to cloud.
MIT License
28 stars 18 forks source link

d2cMsgSender.py doesn't get it work #3

Open VickiFu opened 6 years ago

VickiFu commented 6 years ago

I get the device registered. but for Msgsender doesn't work with the right connect string. (u'{"Message":"ErrorCode:IotHubUnauthorizedAccess;Unauthorized","ExceptionMessage":"Tracking ID:3e57bdabb01c47758d40614d7b5099c5-G:5-TimeStamp:02/02/2018 18:10:22"}', 401)