[Technical Question]
yateenbbaluja opened this issue · 3 comments
Hi All,
I am using azure iot stack to test the device provisioning service but I am getting the error as I run the sample code with all the variables values inserted.
raise ValueError("Registration Id can not be none, empty or blank.")
ValueError: Registration Id can not be none, empty or blank. I am also attaching the screenshot.
On the Azure portal I have created individual enrollment with the device-ID, Keys and ID_scope but still getting this error.
Hi Yateen,
So registration_id is empty, are you setting REGISTRATION_ID as an environment variable in the session?
Yes but
Hi Yateen,
So registration_id is empty, are you setting REGISTRATION_ID as an environment variable in the session?
Yes. But it got solved as the env file wasn't correctly formatted.
I'm glad this is solved, please feel free to reopen, or create a new issue if you run into further issues.