The SSL Connection could not be established - HTTP Request activity

I am trying to make a api call from studio using the http request activity. I installed the UiPath.WebAPI.Acitvities package.

I get this error every time I try to preview the api call and when I run the file.

image

I’m not sure what is causing this issue or how to fix it. Any suggestions on possible fixes?

This is what the request wizard looks like when configuring the http request.

Hey,

For this api that you are using, what authentication are you using, also can you check Enable SSL and then try again.

Is this a free api or need any auth? Please provide more details on this.

Thanks.

Hi,

The message says “See inner exception”. So, can you check innerException of the exception using try-catch activity as the following?

Regards,

Did you find a solution for this as I am battling with the same issue?

1 Like

Came here for the same issue. By default my http request activity had “enable SSL certificate verification” set to checked. Once I unchecked that, the error went away. Hope that helps!

Thanks for the response. Our problem was actually something else. The problem was not on the UiPath side as my “enable SSL certificate verification” was unchecked. On the receiving end it was security settings on CloudFlare that blocked the call. It is resolved now.