Cannot Update incident for Service account through Postman

Bhavya11
Kilo Patron

Hi ,

 

i am encountering the issue like when i tried to update the specific incident from postman  by hitting the endpoint through postman but i got an error "connect ECONREFUSED port number" .

 

How to fix this issue?.

 

as user has basic authentication. User try to use PATCH/PUT method. but getting this issue "connect ECONREFUSED port number".

 

Kindly help

 

Thanks,

BK

 

1 ACCEPTED SOLUTION

@Bhavya11 

are you able to test from your laptop via Postman? -> If yes then you need not worry

It's the issue with Ansible team and they should check with their network team why they are not able to reach to instance.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

15 REPLIES 15

@Bhavya11 

if it's working fine from postman but not from Ansible then Ansible team should check if they are able to reach to the instance and add instance IP address in whitelist so that the firewall allows.

Since SSO is enabled, your API user should be marked with these checkboxes as true

Internal Integration User and Web service access only

 

AnkurBawiskar_0-1756716821815.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

User accessing the ServiceNow instance from Postman which is on different VDI server.

 

Like Postman is on VDI server they are accessing the ServiceNow instance which outside VDI server of postman using any method getting  "connect ECONREFUSED 10:231.111.69:443".

 

How to fix this. even i whitelist both Postman ip and as well as VDI server ip

Thanks,

BK

@Bhavya11 

are you able to test from your laptop via Postman? -> If yes then you need not worry

It's the issue with Ansible team and they should check with their network team why they are not able to reach to instance.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

RaghavSh
Kilo Patron

Share the screenshot of config you have done on POSTMAN?


Raghav
MVP 2023
LinkedIn

Hi @RaghavSh ,

 

For authorization  section :Basic Auth

 

Bhavya11_0-1756713780038.png

 

body

{"state":"2"}
 
endpoint:
Bhavya11_1-1756713853219.png

 

 

Thanks,

BK