The Zurich release has arrived! Interested in new features and functionalities? Click here for more

i got response code "0" for Rest API outbound call.

ashishdevsingh
Tera Expert

I am trying to call Aws api from servicenow outbound. 
While sending the request body I am getting error code :0 without response body return. 
I have tried same thing in postman and it is working fine. 
now my query is: what should be the step to start debugging ? I tried to set logging level on but it doesn’t capture the fruitful message. 
any suggestions or step is appreciated. 
thank you!

 

4 REPLIES 4

Hi @Amit Verma ,

 

I am supscting this is because of some blocking at AWS side, so planning to use MID server. I will share the update if it works or not. however i am thinking why it is working from postman. 

ashishdevsingh
Tera Expert

Hi @Amit Verma ,

 

I tried already nothing works. but thank you for checking it out. 

Amit Verma
Kilo Patron
Kilo Patron

Hi @ashishdevsingh 

 

Can you confirm whether your AWS instance is accessible publicly over the internet or it is only accessible from the customer network ?

 

If the later, we need to route this REST API call from the mid server so that it succeed. Also, did you got any error logs ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.