Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:IDAS
Description
Created question in FIWARE Q/A platform on 28-03-2017 at 11:03
Please, ANSWER this question AT https://stackoverflow.com/questions/43066161/iotagent-json-tutorial-error
Question:
iotagent-json tutorial error
Description:
During this tutorial: https://github.com/telefonicaid/iotagent-json/blob/master/docs/stepbystep.md
When I execute the curl:
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Fiware-Service: myHome" -H "Fiware-ServicePath: /environment" -H "Cache-Control: no-cache" -d '{
"value" : "300"
}' 'http://localhost:1026/v1/contextEntities/LivingRoomSensor/attrs/sleepTime'
I'm getting this error response:
{
"orionError" : {
"code" : "400",
"reasonPhrase" : "Bad Request",
"details" : "service not found"
}
}
How to fix this?
Cumps
2017-05-22 21:08|UPDATED status: transition Finish| # answers= 1, accepted answer= True