[Backlogmanager] [FIWARE-JIRA] (HELP-8283) [fiware-stackoverflow] DEVICE_GROUP_NOT_FOUND in iotagent-ul

Carlos Ralli Ucendo (JIRA) jira-help-desk at jira.fiware.org
Fri Mar 10 11:26:00 CET 2017


     [ https://jira.fiware.org/browse/HELP-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Ralli Ucendo reassigned HELP-8283:
-----------------------------------------

    Assignee: Carlos Ralli Ucendo  (was: Fernando Lopez)

> [fiware-stackoverflow] DEVICE_GROUP_NOT_FOUND in iotagent-ul
> ------------------------------------------------------------
>
>                 Key: HELP-8283
>                 URL: https://jira.fiware.org/browse/HELP-8283
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Carlos Ralli Ucendo
>              Labels: fiware
>
> Created question in FIWARE Q/A platform on 16-02-2017 at 19:02
> {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/42281731/device-group-not-found-in-iotagent-ul
> +Question:+
> DEVICE_GROUP_NOT_FOUND in iotagent-ul
> +Description:+
> I'm trying to send measurements using IoT Agent UL2.0.
> First, I created a device as follows:
> POST /iot/devices HTTP/1.1
> Host: localhost:4061
> Fiware-Service: Empresa1
> Fiware-ServicePath: /empresa1
> Content-Type: application/json
> Cache-Control: no-cache
> { 
> "devices": [ 
>     { 
>         "device_id": "A6", 
>         "entity_name": "A6", 
>         "entity_type": "E6", 
>         "attributes": [ 
>               { "object_id": "a", "name": "aaa", "type": "text" },
>               { "object_id": "b", "name": "bbb", "type": "text" },
>               { "object_id": "c", "name": "ccc", "type": "text" }
>         ]
>     }
> ]
> }
> Then I'm trying to send measurements as follows:
> POST /iot/d?i=A6&k=A6&d=a|7|b|7|c|7 HTTP/1.1
> Host: localhost:7896
> Fiware-Service: Empresa1
> Fiware-ServicePath: /empresa1
> Content-Type: text/plain
> Cache-Control: no-cache
> But I'm getting the following error:
> {
>     "name": "DEVICE_GROUP_NOT_FOUND",
>     "message": "Couldn\t find device group"
> }
> What the device group is?
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy