Closed iariasleon closed 8 years ago
LGTM
http code: 400 - Bad Request
headers:
date: Thu, 16 Jun 2016 12:51:02 GMT
fiware-correlator: fb5782c6-33c0-11e6-a5ff-005056a20feb
connection: Keep-Alive
content-type: application/json
content-length: 61
payload: {"error":"BadRequest","description":"attrs element is empty"}
in POST v2/subscriptions, if "condition/attributes" has empty values, returns a 200 in http code and a payload as a v1 error instead of a v2 error.
See "Field syntax restrictions" in fiware-ngsiv2-reference:
subcription response
Expected response