Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:IoT
 - 
                        HD-Enabler:IDAS
 
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:
- 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.
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Component/s | FIWARE-TECH-HELP [ 10278 ] | 
| 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 ] | 
| Assignee | José Ignacio Carretero Guarde [ jicg ] | 
| Assignee | José Ignacio Carretero Guarde [ jicg ] | Fermín Galán [ fermin ] | 
| Status | Open [ 1 ] | In Progress [ 3 ] | 
| Status | In Progress [ 3 ] | Answered [ 10104 ] | 
| Resolution | Done [ 10000 ] | |
| Status | Answered [ 10104 ] | Closed [ 6 ] | 
| Fix Version/s | 2021 [ 12600 ] |