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

FIWARE.Request.Lab.400 bad request on executing SendObservation.py.

    Details

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

      Description

      Hello all,

      I am new to FIWARE and I am trying to REGISTER my sensor and update its
      attributes as mentioned in the link
      https://www.fiware.org/tag/developers/page/2/
      I have registered my sensor using following command:
      *RegisterDevice.py SENSOR_TEMP sensor4 thermometer4
      *I got 201 CREATED as a response.
      After this, I tried to update temperature as below:
      *python SendObservation.py a5fa:694:sensor4 't^|6' *
      note: Since I am using DOS, I used ^ as escape character.
      *
      *As a result, I am getting 400 bad request as shown below:

      • Asking to http://130.206.80.47:8002/d?<mytoken>&i=a5fa:694:
        sensor4
      • Headers: {'content-type': 'application/text', 'X-Auth-Token': 'I*********** ***********************************************************3'}
      • Sending PAYLOAD:
        't|6'

      ...

      • Status Code: 400
      • Response:

      Kindly help me to find out what am I missing here.

      Best Rregards,
      Shreekantha

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: Shreekantha Devasya <shreekantha.devasya@fit.fraunhofer.de>]

      1. cloud portal.png
        22 kB
      2. ihcjjgfc.png
        35 kB
      3. cloud tab.png
        37 kB

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-lab-help] 400 bad request on executing SendObservation.py FIWARE.Request.Lab.400 bad request on executing SendObservation.py.
        mev Manuel Escriche made changes -
        alfopietro Pietropaolo Alfonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        alfopietro Pietropaolo Alfonso made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        aalonsog Alvaro Alonso made changes -
        Assignee Alvaro Alonso [ aalonsog ] Pietropaolo Alfonso [ alfopietro ]
        aalonsog Alvaro Alonso made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        alfopietro Pietropaolo Alfonso made changes -
        Assignee Pietropaolo Alfonso [ alfopietro ] Alvaro Alonso [ aalonsog ]
        fw.ext.user FW External User made changes -
        Attachment ihcjjgfc.png [ 18823 ]
        Attachment cloud tab.png [ 18824 ]
        alfopietro Pietropaolo Alfonso made changes -
        Attachment cloud portal.png [ 18801 ]
        alfopietro Pietropaolo Alfonso made changes -
        Assignee Pietropaolo Alfonso [ alfopietro ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-LAB-HELP [ 10279 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            alfopietro Pietropaolo Alfonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: