CFHTTP ERROR : Connection Failure. Status code unavailable

95 views Asked by At

I am using coldfsuion 2021 and getting error while using **cfhttp **with Content-Type as 'application/x-www-form-urlencoded'. Here I am attaching my code snippet and its result. Please help me to solve this issue.

Code Snippet

Result

I have tried by creating API with lambda and called that API from ColdFusion page. But it again throwing same error. Could you please help me to resolve this issue?

1

There are 1 answers

0
etchesketch On

CFHTTP is having trouble verifying the certificate of the domain you are trying to access. You either need to add some additional certificates to your java cacerts file or you need to update the domain to serve its certificates a different way.