- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 08:01 AM
Hello community,
I have a Task to make spesfic user use API that I create in servicenow based on his IP.
but for now I wana try at least to make it work with basic things
1)I started by creating the IP filter criteria
2) created the condition
3)created all policy and added the relevant records
4)created API Access Policies
5)created Standard Authentication Profile and added the relevant police
PHOTOS FOR UNDERSTANDING WHERE I CREATED THE RECORDS! NOT THE ACTUAL RECORDS
when I try to access using postman, it doesn't work
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 07:07 PM
Hi @eyal abu hamad ,
You have to do a little bit of digging to check the root cause.
1. You have specified OAuth as an authentication method in the Authentication profile. Are you able to call the API successfully using the OAuth token after deactivating the API access policy?
2. is your IP address within the range that you have specified in the authentication policy? Your first three screenshots are unrelated to each other. The first screenshot shows the IP criteria with the employee IP address, second one shows the condition with contractor IP filter criteria. The 3rd policy screenshot is showing eyal test filter criteria.
Thanks,
Randheer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 07:07 PM
Hi @eyal abu hamad ,
You have to do a little bit of digging to check the root cause.
1. You have specified OAuth as an authentication method in the Authentication profile. Are you able to call the API successfully using the OAuth token after deactivating the API access policy?
2. is your IP address within the range that you have specified in the authentication policy? Your first three screenshots are unrelated to each other. The first screenshot shows the IP criteria with the employee IP address, second one shows the condition with contractor IP filter criteria. The 3rd policy screenshot is showing eyal test filter criteria.
Thanks,
Randheer