Happy Business Starts Here

Unable to locate host ""

payalgoel17
Honor Student

Unable to locate host ""

Hi,

I am trying to use Call out using workflow, in the URL endpoint I have given the rest api url which is currently running in my local.

http://localhost:55296/api/Zuora/GetDetails

 

This is the Rest api written in C# and zuora is making a call to that rest api using callout.

 

The problem is whenever I run this workflow, it gives me an error "Unable to locate host localhost".

 

I tried replacing "localhost" with the machine ip address but no luck.

 

Please suggest how can I call rest api from zuora.

2 REPLIES 2
pramamoorthy
Zuora Staff

Re: Unable to locate host ""

Hi, 

Looks like you are trying to access your local machine "Web services". I don't think that is possible.  

In order to confirm, Can you please try to access your service via postman tool? 

Thanks,

Thanks,
Prem Anandh
payalgoel17
Honor Student

Re: Unable to locate host ""

Hi Prem,

 

Yes I can access the rest api through post man. Generally the webhooks should work from zuora server to local machine if the IP address is given.

 

Can you please suggest how this can be resolved.