You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IoT Agent Node Lib version the issue has been seen with
3.3.0
Bound or port used (API interaction)
Other
NGSI version
NGSIv2
Are you running a container?
Yes, I am using a contaner (Docker, Kubernetes...)
Image type
normal
Expected behaviour you didn't see
When a Service Group is provisioned with an api-key, resource other than the defaultResource and autoprovision is set to true documented here, then no device will be autoprovsioned upon receiving measurements. In my understanding the documentation let it sound like it should autoprovision a Device with the corresponding resource.
Bonus: when posting via http it also uses the default entity_type and not the one defined in the service group
Unexpected behaviour you saw
It did not autoprovision a device, it said it could not find one
{"name":"DEVICE_GROUP_NOT_FOUND","message":"Couldn\t find device group for fields: [\"resource\",\"apikey\"] and values: {\"resource\":\"/iot/house\",\"apikey\":\"8b661f3b-6335-40d4-86ee-4d9119fe26e5\"}
The text was updated successfully, but these errors were encountered:
Great to hear this @vivekNEC. I can assign you this issue. @fbuedding documented pretty well this issue, but, if you have any further question, feel free to post here.
Consider to check:
If you get errors when using a resource different than the default (this means, defining a resource when creating the service group (POST /iot/services) with a value that differs from the default resource) both for autoprovisioned devices (the error shown in this issue) and also for previously provisioned device (devices created in advance)
IoT Agent Node Lib version the issue has been seen with
3.3.0
Bound or port used (API interaction)
Other
NGSI version
NGSIv2
Are you running a container?
Yes, I am using a contaner (Docker, Kubernetes...)
Image type
normal
Expected behaviour you didn't see
When a Service Group is provisioned with an api-key, resource other than the defaultResource and autoprovision is set to true documented here, then no device will be autoprovsioned upon receiving measurements. In my understanding the documentation let it sound like it should autoprovision a Device with the corresponding resource.
Bonus: when posting via http it also uses the default entity_type and not the one defined in the service group
Unexpected behaviour you saw
It did not autoprovision a device, it said it could not find one
Steps to reproduce the problem
Configs
Log output
The text was updated successfully, but these errors were encountered: