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
Backlog Manager
created issue -
Backlog Manager
made changes -
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
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 ] |
José Ignacio Carretero Guarde
made changes -
Assignee | José Ignacio Carretero Guarde [ jicg ] |
José Ignacio Carretero Guarde
made changes -
Assignee | José Ignacio Carretero Guarde [ jicg ] | Fermín Galán [ fermin ] |
José Ignacio Carretero Guarde
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
José Ignacio Carretero Guarde
made changes -
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Backlog Manager
made changes -
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fernando Lopez
made changes -
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
3d 13h 49m | 1 | José Ignacio Carretero Guarde | 29/May/17 10:54 AM | |||||
|
2s | 1 | José Ignacio Carretero Guarde | 29/May/17 10:54 AM | |||||
|
1d 10h 10m | 1 | Backlog Manager | 30/May/17 9:04 PM |
2017-05-25 21:05|CREATED monitor | # answers= 0, accepted answer= False