{"name":"DEVICE_GROUP_NOT_FOUND","message":"Couldn\t find device group for fields: [\"resource\",\"apikey\"] and values: {\"resource\":\"/iot/d\",\"apikey\":\"4jggokgpepnvsb2uv4s40d59ov\"}"}
I investigated a bit more, an it is related to the specified apikey.
When listing all services I saw the apikey is different: "1068318794"
Hi,
In this step https://github.com/FIWARE/tutorials.PEP-Proxy#pep-proxy---accessing-iot-agent-with-an-access-token, I received this error:
{"name":"DEVICE_GROUP_NOT_FOUND","message":"Couldn\t find device group for fields: [\"resource\",\"apikey\"] and values: {\"resource\":\"/iot/d\",\"apikey\":\"4jggokgpepnvsb2uv4s40d59ov\"}"}
I investigated a bit more, an it is related to the specified apikey.
When listing all services I saw the apikey is different: "1068318794"
{"count":4,"services":[{"commands":[],"lazy":[],"attributes":[{"object_id":"c","name":"count","type":"Integer"}],"_id":"6035612408f11a41cce55faa","resource":"/iot/d","apikey":"1068318794","service":"openiot","subservice":"/","timezone":"Europe/Berlin","__v":0,"static_attributes":[{"name":"category","type":"Text","value":["sensor"]},{"name":"controlledProperty","type":"Text","value":"motion"} ...
So running it with that apikey the result is ok.
Just in case anyone is facing the same error or if there is a change to modify the database in order for the tutorial to run as expected.
Related to issue #5
Thanks in advance. Regards! Juan