Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

InvokeHTTP doesn't seem to make request

InvokeHTTP doesn't seem to make request

New Contributor

I have an InvokeHTTP processor that makes a GET that accepts an `author` variable from an incoming flowfile as input. I tested the Remote URL in a browser with an author from one of the input flowfiles, and it returns JSON as expected.

Remote URL: `https://www.reddit.com/user/${author:urlEncode()}/comments/.json?limit=100`

However, InvokeHTTP does not appear to be doing anything with the input (invokehttp.jpg).

Data Provenance shows only DROP and ATTRIBUTES_MODIFIED events. Shouldn't there be FETCH, CLONE, and/or FORK events?

The `author` from the incoming flowfile is in those DROP and ATTRIBUTES_MODIFIED events. The input processor is an EvaluateJsonPath whose only output is the `author` field, and the property name is `author`.

Why isn't InvokeHTTP making the GET requests?

FWIW: I tested hardcoding a username in the Remote URL and disconnecting the input flowfile. That worked and made the request as expected, returning output. So appears there's something wrong with the interacting between the input flowfile and InvokeHTTP.

105406-invokehttp.jpg