I am getting error while trying to POSt data to servicenow instance using REST API (Table API)

Artemis15
Kilo Guru

I am using the same code to develop a program to post data to snow demo instance.

 

URL : http://wiki.servicenow.com/index.php?title=Table_API_Java_Examples#POST

 

I'm getting status 404 and stream closed error.

 

find_real_file.png

 

Please help me in this issue.

1 ACCEPTED SOLUTION

Artemis15
Kilo Guru

Thanks Kalaiarasan and Chandan for your valuable reply.



I found out the mistake in the code. It's because of a jar file which is accidentally closing the buffer before connecting to SNOW instance.


View solution in original post

15 REPLIES 15

Your proxy is blocking your connection from MID Server to Service-Now instance. Either you have to pass the proxy credentials OR you can ask your network team to configure the box (on which MID server is installed) such that outgoing requests to https://yourinstance.service-now.com are not blocked by proxy.



Hope this helps.