Created 10-22-2024 05:31 AM
Hello All,
Actually, I'm getting one error from my post call in nifi and in that I'm making post call with form data which contains file, JSon body but even after properly configuring the Httpinvoke it's giving me this error
java.lang.IllegalStateException: closed
Can you please help me in this these are my configuration which I have done
this preview which i got
And the configuration:-
and the Entire pipeline
Created 10-22-2024 10:52 AM
@pankajgaikwad Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our NiFi experts @MattWho @SAMSAL who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Created 10-27-2024 10:06 PM
no one answered yet.......just waiting for it
Created 10-28-2024 06:21 AM
@pankajgaikwad
while it is wonderful that you have shared your InvokeHTTP processor configurations, I don't think enough information has been provided to provide assistance here. All we know from you post is that some Post rest-api call was made against some service endpoint using some URL, to send form data of some content-type to which an illegal state exception was thrown.
Sharing details about your use case is always helpful.
As far as the exception goes...
I see you shared your full dataflow in another community post:
An example of the original file you are obtaining via "GetFile", what attributes you are adding to the FlowFile, and how you are modifying that content before the InvokeHTTP may also be helpful here.
Sharing the additional input and details may make it possible for someone in the community to provide you with some suggestions and solutions.
Thank you,
Matt
Created 10-31-2024 08:02 PM
@pankajgaikwad Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information Thanks.
Regards,
Diana Torres,