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

[fiware-stackoverflow] Fiware and IDAS: Issue with SendObsevations.py

    Details

      Description

      Created question in FIWARE Q/A platform on 25-05-2017 at 18:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/44185798/fiware-and-idas-issue-with-sendobsevations-py

      Question:
      Fiware and IDAS: Issue with SendObsevations.py

      Description:
      I am very new with IDAS y Fiware. I am working with the Figway (https://github.com/telefonicaid/fiware-figway) and I have a problem when I tried to send observations with this command:

      python SendObservation.py sensor001x 't|23'

      This is the response:

      ...

      • Status Code: 400
      • Response: {"name":"UNSUPPORTED_TYPE","message":"The request content didn't have the expected type [text/plain ]"}

      Could you help me with that? Where I am wrong? I working with a RaspberryPi.

      Thanks a lot.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3d 13h 49m 1 José Ignacio Carretero Guarde 29/May/17 10:54 AM
        In Progress In Progress Answered Answered
        2s 1 José Ignacio Carretero Guarde 29/May/17 10:54 AM
        Answered Answered Closed Closed
        1d 10h 10m 1 Backlog Manager 30/May/17 9:04 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-30 21:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-30 21:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        jicg José Ignacio Carretero Guarde made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        jicg José Ignacio Carretero Guarde made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jicg José Ignacio Carretero Guarde made changes -
        Assignee José Ignacio Carretero Guarde [ jicg ] Fermín Galán [ fermin ]
        jicg José Ignacio Carretero Guarde made changes -
        Assignee José Ignacio Carretero Guarde [ jicg ]
        fla Fernando Lopez made changes -
        HD-Enabler IDAS [ 10884 ]
        Description
        Created question in FIWARE Q/A platform on 25-05-2017 at 18:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/44185798/fiware-and-idas-issue-with-sendobsevations-py


        +Question:+
        Fiware and IDAS: Issue with SendObsevations.py

        +Description:+
        I am very new with IDAS y Fiware. I am working with the Figway (https://github.com/telefonicaid/fiware-figway) and I have a problem when I tried to send observations with this command:

        python SendObservation.py sensor001x 't|23'


        This is the response:

        * Asking to http://130.206.80.43:7896/iot/d?k=4jggokgpepnvsb2uv4s40d59ov&i=sensor001x
        * Headers: {'Fiware-Service': 'OpenIoT', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
        * Sending PAYLOAD:
        t|23

        ...

        * Status Code: 400
        * Response:
        {"name":"UNSUPPORTED_TYPE","message":"The request content didn't have the expected type [text/plain ]"}


        Could you help me with that? Where I am wrong? I working with a RaspberryPi.

        Thanks a lot.
        Created question in FIWARE Q/A platform on 25-05-2017 at 18:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/44185798/fiware-and-idas-issue-with-sendobsevations-py


        +Question:+
        Fiware and IDAS: Issue with SendObsevations.py

        +Description:+
        I am very new with IDAS y Fiware. I am working with the Figway (https://github.com/telefonicaid/fiware-figway) and I have a problem when I tried to send observations with this command:

        python SendObservation.py sensor001x 't|23'


        This is the response:

        * Asking to http://130.206.80.43:7896/iot/d?k=4jggokgpepnvsb2uv4s40d59ov&i=sensor001x
        * Headers: {'Fiware-Service': 'OpenIoT', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
        * Sending PAYLOAD:
        t|23

        ...

        * Status Code: 400
        * Response:
        {"name":"UNSUPPORTED_TYPE","message":"The request content didn't have the expected type [text/plain ]"}


        Could you help me with that? Where I am wrong? I working with a RaspberryPi.

        Thanks a lot.
        HD-Chapter IoT [ 10839 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-25 21:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-25 21:05|CREATED monitor | # answers= 0, accepted answer= False
        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: