Member since
12-16-2016
6
Posts
0
Kudos Received
0
Solutions
12-21-2016
11:33 AM
@Frank Maritato
Thanks for the response Here is my api call, I have updated my call like the above format. Even i am facing the same issue curl -i -X PUT -H 'Content-Type:application/json' -H 'Accept: application/json' -d '{"status": {"runStatus": "RUNNING"},"component":{"state":"RUNNING","id":"<processorgroup_id>"},"id": "<processorgroup_id>", "revision": {"version": 2,"clientId":"<client_id>"}}' http://host:port/nifi-api/process-groups/> HTTP/1.1 400 Bad Request
Date: Wed, 21 Dec 2016 11:08:27 GMT
Content-Type: text/plain
Transfer-Encoding: chunked
Server: Jetty(9.3.9.v20160517)
Message body is malformed. Unable to map into expected format
... View more
12-20-2016
06:53 AM
@Frank Maritato I am trying to start a processor group.Here is the command curl -i -X PUT -H 'Content-Type:application/json' -d '{"component": {"id":"<processorgroup_id>","parentGroupId":"<parentgroup_id>","state":"RUNNING"},"revision": {"clientId":"<client_id>","version": 2}}' http://hostname:port/nifi-api/process-groups/> I am facing: HTTP/1.1 400 Bad Request
Date: Tue, 20 Dec 2016 06:43:43 GMT
Content-Type: text/plain
Transfer-Encoding: chunked
Server: Jetty(9.3.9.v20160517)
Message body is malformed. Unable to map into expected format. is there any issue in above api request??
... View more