Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 01-12-2016 at 12:12
Please, ANSWER this question AT http://stackoverflow.com/questions/40909799/error-registering-weather-forcast-data-model-ngsi-v2
Question:
Error registering Weather Forcast data model (NGSI v2)
Description:
I am trying to register weather forcast on ContextBroker V1.5.0 but getting below error :-
{
"error": "BadRequest",
"description": "attribute must be a JSON object, unless keyValues option is used"
}
Here is the payload
{
"feelsLikeTemperature":31.8,
"dayMinimum":
,
"temperature":0.0,
"dateCreated":"2016-12-01T12:05:00+05:30",
"type":"WeatherForecast",
"address":
,
"windSpeed":3.7,
"validity":
,
"source":"http://dataservice.accuweather.com/",
"precipitationProbability":0,
"dayMaximum":
,
"weatherType":"Partly sunny",
"windDirection":"ENE",
"id":"452001_IN_YYYY-12-DD ",
"relativeHumidity":31.0
}
I verified with FIWARE data models on http://fiware-datamodels.readthedocs.io/en/latest/Weather/WeatherForecast/doc/spec/index.html but it does not seem to be working. Does anyone know solution to this problem?
Activity
Fix Version/s | 2021 [ 12600 ] |
Summary | [fiware-stackoverflow] Error registering Weather Forcast data model (NGSI v2) | FIWARE.Question.Tech.Data.OrionContextBroker.Error registering Weather Forcast data model (NGSI v2) |
HD-Node | Unknown [ 10852 ] |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Fermín Galán [ fermin ] |
HD-Chapter | Unknown [ 10845 ] | Data [ 10838 ] |
HD-Enabler | Unknown [ 10910 ] | Orion [ 10875 ] |
HD-Enabler | Unknown [ 10910 ] | |
HD-Chapter | Unknown [ 10845 ] | |
HD-Node | Unknown [ 10852 ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |