Support Questions

Find answers, ask questions, and share your expertise

InvokeHttp 'x-www-form-urlencoded' POST doesn't work on NiFi 1.21.0

avatar
New Contributor

Hi, 

Complementing the title, it doesn't work on NiFi 1.21 but it does work on NiFi 2.0.0-M1

I have created a simple test:

Alfies_0-1705509953282.png

Generate FlowFile: 

Alfies_1-1705510070873.png

InvokeHttp:

Alfies_2-1705510113803.pngAlfies_3-1705510137906.pngAlfies_4-1705510149131.png

The response is an error from my server which seems to be rejecting the content:

 
"The requested URL was rejected. Please consult with your administrator."
 
To debug it I have downloaded the 2.0.0-M1 version locally on my machine and configured the exact same flow and it ran without any problem.
 

 

1 REPLY 1

avatar

@Alfies Thanks for posting.   I cant see anything that jumps as far as why this would not work in 1.21.   I would wonder if it works in 1.24.    If it does, then for sure that compatiblity was added since 1.21.   If you are required to use 1.21,  i would recommend opening a Jira to report the bug you are describing.