Open wmmihaa opened 4 years ago
I tried to reproduce the tutorial and encoured the same issue.
Request #26 :
'http://localhost:4041/iot/devices/water002' \
-H 'Content-Type: application/json' \
-H 'fiware-service: openiot' \
-H 'fiware-servicepath: /' \
-d '{
"entity_type": "IoT-Device"
}'
The request status code is 200 but the request.text is:
{
"name": "ENTITY_GENERIC_ERROR",
"message": "Error accesing entity data for device: water002 of type: IoT-Device"
}
I think, although it's not clear in the tutorial, that the value of entity_type must change from 'Device' to 'IoT-Device' with this request, which is not the case.
At step for after provisioning the sensor I get this error:
I have created the service with entity_type set to "Thing". I'm not sure it should but "Thing" is not showing up in the list of types either (http://orion:1026/v2/types).