cancel
Showing results for 
Search instead for 
Did you mean: 

Web API error Invalid URI: The host name could not be parsed.

tim.dani
Level 3

Hello everyone,

I am using APIs in order to get informations from a web page.

I tried the APIs on Postman and I receive the desired results.

When replicating the same over Blue Prism I encounter following error message: 

"Unexpected error Invalid URI: The hostname could not be parsed"

 

Do you have any idea what could bring this kind of issue?

I am following the same approach that we have used on identical processes.

 

Thanks a lot for your kind help!

All the best 

 

Tim

3 REPLIES 3

Nandhakumar
Level 6

Hi Tim,

You can try using HTTP request as below.

URL - It is the combination of base URL + method end point you are trying to call.

Certificate ID is used only when applicable for your API.

Nandhakumar626_0-1715221744016.png

Thanks,

Nandha

tim.dani
Level 3

Hi Nandha,

I don't get entirelly your suggestion.

I noticed that it is working on Postman only because the SSL check is turned off.

When the SSL check is on it retuns the error "SSL Error: Hostname/IP does not match certificate's altnames".

If I find the way to deactivate SSL check also on BP than probably it will work.

 

Hi Tim,

I have found this info in community to deactivate SSL, you may give it a try.

How to turn off SSL checking for connecting via AP... - SS&C Blue Prism Community

Thanks,

Nandha