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

[fiware-stackoverflow] iotagent-json tutorial error

    Details

      Description

      Created question in FIWARE Q/A platform on 28-03-2017 at 11:03
      Please, ANSWER this question AT http://stackoverflow.com/questions/43066161/iotagent-json-tutorial-error

      Question:
      iotagent-json tutorial error

      Description:
      During this tutorial: https://github.com/telefonicaid/iotagent-json/blob/master/docs/stepbystep.md

      When I execute the curl:

      curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Fiware-Service: myHome" -H "Fiware-ServicePath: /environment" -H "Cache-Control: no-cache" -d '

      { "value" : "300" }

      ' 'http://localhost:1026/v1/contextEntities/LivingRoomSensor/attrs/sleepTime'

      I'm getting this error response:

      {
      "orionError" :

      { "code" : "400", "reasonPhrase" : "Bad Request", "details" : "service not found" }

      }

      How to fix this?

      Cumps

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fermin Fermín Galán made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 28-03-2017 at 11:03
        {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/43066161/iotagent-json-tutorial-error


        +Question:+
        iotagent-json tutorial error

        +Description:+
        During this tutorial: https://github.com/telefonicaid/iotagent-json/blob/master/docs/stepbystep.md

        When I execute the curl:

        curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Fiware-Service: myHome" -H "Fiware-ServicePath: /environment" -H "Cache-Control: no-cache" -d '{
        "value" : "300"
        }' 'http://localhost:1026/v1/contextEntities/LivingRoomSensor/attrs/sleepTime'


        I'm getting this error response:

        {
        "orionError" : {
        "code" : "400",
        "reasonPhrase" : "Bad Request",
        "details" : "service not found"
        }
        }


        How to fix this?

        Cumps
        Created question in FIWARE Q/A platform on 28-03-2017 at 11:03
        {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/43066161/iotagent-json-tutorial-error


        +Question:+
        iotagent-json tutorial error

        +Description:+
        During this tutorial: https://github.com/telefonicaid/iotagent-json/blob/master/docs/stepbystep.md

        When I execute the curl:

        curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Fiware-Service: myHome" -H "Fiware-ServicePath: /environment" -H "Cache-Control: no-cache" -d '{
        "value" : "300"
        }' 'http://localhost:1026/v1/contextEntities/LivingRoomSensor/attrs/sleepTime'


        I'm getting this error response:

        {
        "orionError" : {
        "code" : "400",
        "reasonPhrase" : "Bad Request",
        "details" : "service not found"
        }
        }


        How to fix this?

        Cumps
        HD-Chapter Data [ 10838 ]
        fla Fernando Lopez made changes -
        Assignee Fermín Galán [ fermin ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: