I am using a!httpQuery() for calling a REST based API. I have tested it wit

I am using a!httpQuery() for calling a REST based API.
I have tested it with POSTMAN, a Google chrome plugin REST client. I get a JSON response back.

But when I tried using a!httpQuery() in Appian for calling REST API, I am getting a 'Connection Timed Out' error.
I am using Appian 7.10 installed on my own local machine.
The error is as follows:
success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:Error Calling httpQuery,message:Failed to connect to openstates.org/.../,detail:Connect to openstates.org:80 [openstates.org/184.73.176.218] failed: Connection timed out: connect]]

Let me know what I am missing.

OriginalPostID-159295

OriginalPostID-159295

  Discussion posts and replies are publicly visible

Parents
  • Since you are trying to access the rest API with in organization network, just try and access the end point via your browser and see you can access it. If you can not do it then that means then even though your Appian instance is on premise it will not be able to access it. Other thing is check if the service is really up and running. these can lead to find a solution for you
Reply
  • Since you are trying to access the rest API with in organization network, just try and access the end point via your browser and see you can access it. If you can not do it then that means then even though your Appian instance is on premise it will not be able to access it. Other thing is check if the service is really up and running. these can lead to find a solution for you
Children
No Data