I am trying to pull data from Pega API by using activity “http request”. I am getting below error while using GET method. I am new in using API, please help me to resolve the same issue.
Error:
The SSL connection could not be established, see inner exception. —> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. —> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)
Please also find the header information and Json data that I am using to send GET request.
Hi @ashokkarale , After deleting “Host” from configuration parameter I am getting different error. I have tested these API in Postman and it is working fine. I ma attaching Configured parameter and error that I am getting.
Error:
Header Configuration:
I have doubt if I am using correct configuration in Header parameter.
when HTTPRequest Activity cause issues, then we try Postman as you already have done. The result (e.g. export a curl, the Python generated code) we can use for inspections and port it on HTTPRequest. In this step we also check, if we are touching possible limitations of the HTTPRequest Activity and its implementation.
We suggest for the next steps:
check the cookie handling and that it value is not outdated
export from POSTMAN
curl and Python code and if posible please share it with us