You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Sagar Reddy Poreddy <sa...@gmail.com> on 2023/08/10 19:18:12 UTC
NiFi Issue
Dear NiFi Team,
Hope you are doing well, I would like report and issue that I am facing
with NiFi HandleHttpResponse. I have an SAP API, I am consuming it via
invokeHttp and connected the response to HandleHttpResponse. When I call
the api for the first time it is giving the correct response (via
invokeHttp url) , however after that it is returning "Could not find HTTP
response object for this identifier". I am getting the same error message
in NiFi 1.18.0 and 1.19.1, Can you please tell me if it is fixed in any
other version or else please give me a solution.
Thanks,
Sagar Reddy
Re: NiFi Issue
Posted by Nandor Soma Abonyi <ns...@icloud.com.INVALID>.
Hi,
HandleHttpResponse is designed to be used in conjunction with HandleHttpRequest. Based on the description,
it seems like InvokeHTTP’s Response connection has been connected to HandleHttpResponse, which is not needed
because the output FlowFile on the Response connection already contains the API response.
Br,
Nandor
> On 2023. Aug 10., at 22:46, Mark Payne <ma...@hotmail.com> wrote:
>
> Hi Sagar,
>
> Can you share more about how your flow is setup?
>
> It sounds like the flow is maybe attempting to send a response to the same message multiple times,
> or the request is timing out while the data is flowing through NiFi.
>
> Thanks
> -Mark
>
>> On Aug 10, 2023, at 3:18 PM, Sagar Reddy Poreddy <sa...@gmail.com> wrote:
>>
>> Dear NiFi Team,
>>
>> Hope you are doing well, I would like report and issue that I am facing
>> with NiFi HandleHttpResponse. I have an SAP API, I am consuming it via
>> invokeHttp and connected the response to HandleHttpResponse. When I call
>> the api for the first time it is giving the correct response (via
>> invokeHttp url) , however after that it is returning "Could not find HTTP
>> response object for this identifier". I am getting the same error message
>> in NiFi 1.18.0 and 1.19.1, Can you please tell me if it is fixed in any
>> other version or else please give me a solution.
>>
>> Thanks,
>> Sagar Reddy
>
Re: NiFi Issue
Posted by Mark Payne <ma...@hotmail.com>.
Hi Sagar,
Can you share more about how your flow is setup?
It sounds like the flow is maybe attempting to send a response to the same message multiple times,
or the request is timing out while the data is flowing through NiFi.
Thanks
-Mark
> On Aug 10, 2023, at 3:18 PM, Sagar Reddy Poreddy <sa...@gmail.com> wrote:
>
> Dear NiFi Team,
>
> Hope you are doing well, I would like report and issue that I am facing
> with NiFi HandleHttpResponse. I have an SAP API, I am consuming it via
> invokeHttp and connected the response to HandleHttpResponse. When I call
> the api for the first time it is giving the correct response (via
> invokeHttp url) , however after that it is returning "Could not find HTTP
> response object for this identifier". I am getting the same error message
> in NiFi 1.18.0 and 1.19.1, Can you please tell me if it is fixed in any
> other version or else please give me a solution.
>
> Thanks,
> Sagar Reddy