telefonicaid / iotagent-manager

IoT Agent Manager to use as proxy for multiple IoTAgents with different protocols
GNU Affero General Public License v3.0
7 stars 8 forks source link

ENTITY_GENERIC_ERROR at provision device is resulting a 200 code #259

Closed AlvaroVega closed 3 years ago

AlvaroVega commented 3 years ago

time=2021-10-28T11:04:21.188Z | lvl=DEBUG | corr=3b9ed934-0e22-4ae1-957e-2ac5e9311a88 | trans=3b9ed934-0e22-4ae1-957e-2ac5e9311a88 | op=IoTAManager.Redirector | from=n/a | srv=smartcity | subsrv=/ | msg=results [[{"statusCode":200,"body":"{\"name\":\"ENTITY_GENERIC_ERROR\",\"message\":\"Error accesing entity data for device: IMeter_000000000010 of type: imeter\"}","headers":{"x-powered-by":"Express","fiware-correlator":"cf04047d-41e2-4bc6-a627-d1d4f424f86d","content-type":"application/json; charset=utf-8","content-length":"118","etag":"W/\"76-ocw/wnlVfN3JHPVZC9woRLyqzLE\"","date":"Thu, 28 Oct 2021 11:04:21 GMT","connection":"close"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"172.17.0.1:4061","port":"4061","hostname":"172.17.0.1","hash":null,"search":"?resource=%2Fiot%2Fd&protocol=IoTA-UL","query":"resource=%2Fiot%2Fd&protocol=IoTA-UL","pathname":"/iot/devices","path":"/iot/devices?resource=%2Fiot%2Fd&protocol=IoTA-UL","href":"http://172.17.0.1:4061/iot/devices?resource=%2Fiot%2Fd&protocol=IoTA-UL"},"method":"POST","headers":{"host":"localhost:18082","user-agent":"curl/7.74.0","fiware-service":"smartcity","fiware-servicepath":"/","content-type":"application/json","accept":"application/json","connection":"close","content-length":3418}}},{"name":"ENTITY_GENERIC_ERROR","message":"Error accesing entity data for device: IMeter_000000000010 of type: imeter"}]] | comp=IoTAgentManager

AlvaroVega commented 3 years ago

already fixed in https://github.com/telefonicaid/iotagent-node-lib/pull/1110