Devin, Within the config you need specify "properties".
{ "revision": { "version": 0, "lastModifier": "value" }, "processor": { "config": { "properties": { "Consumer Secret": "xxx", "Access Token Secret": "xxx" } } } } Let me know if that helps! Thanks. Matt On Mon, Oct 12, 2015 at 9:22 PM, Devin Pinkston <pinkdevel...@gmail.com> wrote: > I'm trying to do a put to update a GetTwitter Processor, I want to set the > Consumer & Access Token Secret. Doing the follow put with application/json > always gives me a 400 error. This is the put body: > > { > "revision": { > "version": 0, > "lastModifier": "value" > }, > "processor": { > "config": { > "Consumer Secret": "xxx", > "Access Token Secret": "xxx" > } > } > } > > I am using this URI: > > http://localhost:8080/nifi-api/controller/process-groups/9084b91c-8e28-4635-a7c6-991afe36b4ca/processors/fc3d62c0-995a-4075-bfa6-396fd89358d2 > > I know the URI is right, but for some reason the body keeps throwing > errors. Am i missing something? Everything else looks to be optional. > > This the error everytime: > > 400 Bad Request: Message body is malformed. Unable to map into expected > format. > > Thank you >