Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8283

[fiware-stackoverflow] DEVICE_GROUP_NOT_FOUND in iotagent-ul

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 16-02-2017 at 19:02
      Please, ANSWER this question AT 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!

        Activity

        backlogmanager Backlog Manager created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fla Fernando Lopez made changes -
        Assignee Carlos Ralli Ucendo [ ralli ]
        fla Fernando Lopez made changes -
        HD-Enabler IDAS [ 10884 ]
        Description
        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!
        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!
        HD-Chapter IoT [ 10839 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Closed [ 6 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        Assignee Carlos Ralli Ucendo [ ralli ] Santiago Martinez García [ santiago.martinez ]
        fla Fernando Lopez made changes -
        Component/s FIWARE-LAB-HELP [ 10279 ]
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Component/s FIWARE-LAB-HELP [ 10279 ]
        ralli Carlos Ralli Ucendo made changes -
        Assignee Santiago Martinez García [ santiago.martinez ] Fernando Lopez [ fla ]
        ralli Carlos Ralli Ucendo made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        ralli Carlos Ralli Ucendo made changes -
        Assignee Fernando Lopez [ fla ] Carlos Ralli Ucendo [ ralli ]
        ralli Carlos Ralli Ucendo made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          People

          • Assignee:
            ralli Carlos Ralli Ucendo
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: