Servicenow Integration error 403

Antonio42
Kilo Guru

I need a big help on this integration since the log is not enough to troubleshooting. How do I collect detailed log or maybe do steps to make sure what's the part of integration is getting any trouble. I have done the same steps in the Postman and everything is working good, Servicenow requires different mechanism?

1 ACCEPTED SOLUTION

Antonio42
Kilo Guru

Folks, case was solved this morning!

I engaged Ansible team and also network team from customer side. The issue was in the Firewall rule that's why the connection was getting refused. I appreciate a lot for all insights and value comments in this post!

View solution in original post

17 REPLIES 17

could you post a screenshot of the error that you are facing?

Hitoshi Ozawa
Giga Sage
Giga Sage

Error 403 implies user/password error. The credentials are not correct. Recheck if the credentials are correctly set.

Hi Hozawa,

Not sure about that, Postman works fine.

Appli
Mega Sage

Hi Antonio

Indeed, since this is outbound Rest call and it works from PostMan, it's less likely user credentials are the reason. May you please check this article where it' s recommended to check/modify default “User Agent” field in the Header? As per guided, CURL tool can be used for the tests as well, before making actual modifications in ServiceNow instance

Thank you!

Hope it helps

Hitoshi Ozawa
Giga Sage
Giga Sage

How about  trying with REST API Explorer (System Web Service > REST > REST API Explorer) and using generated code from the page to make sure it works ok.

https://www.youtube.com/watch?v=8ith0JvFc3Y