Support Questions

Find answers, ask questions, and share your expertise

invokehttp NIFI not translating URL as I expect

avatar
New Contributor

I am trying to get Httpinvoke to retreive a url. When I paste in the URL it retreives it. When I read it form a file, extract the text, put the url into an attribut and reference this attribute I get the folowing error:

invokehttp.java.exception.class java.net.MalformedURLException No value set invokehttp.java.exception.message no protocol: No value set

My Extract text looks like this where plek is the attribute (first attachment) and my InvokeHttp like this

64907-capture.png

64906-capture.png

Anyone any idea why this fails with this error.

1 REPLY 1

avatar
Master Guru

@Tony van Buuren van Heijst

Enclose your regex in parentheses() in Extract text processor because we need to have at least one capture group in extract text processor.

Extract text processor Configs:-

67405-extracttext.png

plex

(.*)

.

If the Answer helped to resolve your issue, Click on Accept button below to accept the answer, That would be great help to Community users to find solution quickly for these kind of issues.