You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to sendMeasure but not sure what to put as the data. In the documentation there's info about data format conversion, how should I go about this?
Try adding the apiKey as an additional URI query parameter, i.e. k=23HJK3Y9090DSFL173209HV8801232 and tell us if that worked or not (in the second case, please include the new log you get). Thanks!
I have problem updating the device data. I followed the steps in provisioning page. Below is my configuration:
Group provisioning: http://localhost:4041/iot/services
fiware-service: dumbMordor
fiware-servicepath: /deserts
payload:
Note: I was using trust because my CB is behind pep-proxy.
Device provisioning: http://localhost:4041/iot/devices
fiware-service: dumbMordor
fiware-servicepath: /deserts
payload:
The entity was correctly created in CB. Then I tested using ./bin/sigfox-test.js
This is the config
I wanted to sendMeasure but not sure what to put as the data. In the documentation there's info about data format conversion, how should I go about this?
I also tried to update the data through REST API:
http://localhost:17428/update?device_id=sigApp2&time=1430908992&statin=0817&lng=77&lat=41
but I got 400 Bad Request with error message:
{
"name": "MANDATORY_FIELDS_NOT_FOUND",
"message": "Some of the mandatory fields for the request were not found"
}
The log:
time=2019-05-13T12:18:19.525Z | lvl=DEBUG | corr=77a13132-4468-49d6-ad54-9282406ec0ee | trans=77a13132-4468-49d6-ad54-9282406ec0ee | op=IoTAgentSIGFOX.SigfoxServe
r | srv=n/a | subsrv=n/a | msg=Request for path [/update] from [localhost:17428] | comp=IoTAgent
time=2019-05-13T12:18:19.525Z | lvl=DEBUG | corr=77a13132-4468-49d6-ad54-9282406ec0ee | trans=77a13132-4468-49d6-ad54-9282406ec0ee | op=IoTAgentSIGFOX.SigfoxServe
r | srv=n/a | subsrv=n/a | msg=Body:
undefined
| comp=IoTAgent
time=2019-05-13T12:18:19.525Z | lvl=ERROR | corr=77a13132-4468-49d6-ad54-9282406ec0ee | trans=77a13132-4468-49d6-ad54-9282406ec0ee | op=IoTAgentSIGFOX.SigfoxHandl
ers | srv=n/a | subsrv=n/a | msg=Mandatory fields not found in request | comp=IoTAgent
time=2019-05-13T12:18:19.525Z | lvl=DEBUG | corr=77a13132-4468-49d6-ad54-9282406ec0ee | trans=77a13132-4468-49d6-ad54-9282406ec0ee | op=IoTAgentSIGFOX.SigfoxServe
r | srv=n/a | subsrv=n/a | msg=Error [MANDATORY_FIELDS_NOT_FOUND] handling request: Some of the mandatory fields for the request were not found | comp=IoTAgent
What is the text in bold italic referring to? What am I missing here?
Any advice is more than appreciated.
The text was updated successfully, but these errors were encountered: