Also, the step to include the Service Group was also required as I got this error also:
{"name":"DEVICE_GROUP_NOT_FOUND","message":"Couldn\t find device group for fields: [\"resource\",\"apikey\"] and values: {\"resource\":\"/iot/d\",\"apikey\":\"4jggokgpepnvsb2uv4s40d59ov\"}"}
Please add the Service Group request step prior to this request.
This request https://github.com/FIWARE/tutorials.PEP-Proxy#onesix-request gave me errors
I had to include -H 'Content-Type: text/plain' \
curl -X POST \ 'http://localhost:7897/iot/d?k=4jggokgpepnvsb2uv4s40d59ov&i=motion001' \ -H 'X-Auth-Token: {{X-Access-token}}' \ -H 'Content-Type: text/plain' \ -d 'c|1'
Also, the step to include the Service Group was also required as I got this error also: {"name":"DEVICE_GROUP_NOT_FOUND","message":"Couldn\t find device group for fields: [\"resource\",\"apikey\"] and values: {\"resource\":\"/iot/d\",\"apikey\":\"4jggokgpepnvsb2uv4s40d59ov\"}"}
Please add the Service Group request step prior to this request.