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. cloud tab.png
        37 kB
      3. ihcjjgfc.png
        35 kB

        Activity

        Hide
        alfopietro Pietropaolo Alfonso added a comment -

        On the top left of your Idm page you see "Cloud".
        Please click on it and you will access to https://cloud.lab.fiware.org

        Thanks,
        Alfonso

        Show
        alfopietro Pietropaolo Alfonso added a comment - On the top left of your Idm page you see "Cloud". Please click on it and you will access to https://cloud.lab.fiware.org Thanks, Alfonso
        Hide
        fw.ext.user FW External User added a comment -

        I see this window on cloud tab:
        Please let me know if I am missing something.

        Best Regards,
        Shreekantha

        Show
        fw.ext.user FW External User added a comment - I see this window on cloud tab: Please let me know if I am missing something. Best Regards, Shreekantha
        Hide
        alfopietro Pietropaolo Alfonso added a comment -

        Hi Alvaro,
        could you verify if this user has access to the Cloud Portal ?
        From many answers she provided it seems not (but i'm not sure).
        See the attachments for more info.
        Thanks.
        Alfonso

        Show
        alfopietro Pietropaolo Alfonso added a comment - Hi Alvaro, could you verify if this user has access to the Cloud Portal ? From many answers she provided it seems not (but i'm not sure). See the attachments for more info. Thanks. Alfonso
        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi Alfonso,

        this user is a Basic user. So he has not access to Cloud Infrastructure.

        BR

        Show
        aalonsog Alvaro Alonso added a comment - Hi Alfonso, this user is a Basic user. So he has not access to Cloud Infrastructure. BR
        Hide
        alfopietro Pietropaolo Alfonso added a comment -

        Dear Shreekantha,
        after a deep analysis, the result is that your Trial Account has expired according to Trial Account policy.
        This basically means that your resources are not longer available.

        If you want, you can apply again for Trial or Community Account.

        Note that for Community Account, the following are standard information you have to provide:

        In order to obtain a "Community account" on FIWARE Lab, the applicant has to described the experimentation he/she plans to do and how it is related with the FIWARE ecosystem. Based on this description the community account is granted or not (mainly it depends on the innovative idea proposed and how this idea leverages on FIWARE).
        So could you please elaborate a bit on this?

        Show
        alfopietro Pietropaolo Alfonso added a comment - Dear Shreekantha, after a deep analysis, the result is that your Trial Account has expired according to Trial Account policy. This basically means that your resources are not longer available. If you want, you can apply again for Trial or Community Account. Note that for Community Account, the following are standard information you have to provide: In order to obtain a "Community account" on FIWARE Lab, the applicant has to described the experimentation he/she plans to do and how it is related with the FIWARE ecosystem. Based on this description the community account is granted or not (mainly it depends on the innovative idea proposed and how this idea leverages on FIWARE). So could you please elaborate a bit on this?

          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: