Unable to use the API,how to access it. "https://instance.servicenow.com/api/sn_km_api/knowledge/articles"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 08:39 PM
Hi,
I'm not able to use the api "https://instance.servicenow.com/api/sn_km_api/knowledge/articles",when I'm trying to access api through postman getting error like

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 09:03 PM
Is there a scripted REST API corresponding to this uri?
Go to "System Web Services" > "Scripted Web Services" > "Scripted REST APIs". Set filter on column "Base API path" to "/api/sn_km".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 09:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 09:04 PM
Hi,
ServiceNow support can find the incoming IP address(es) of the Web Service call that is causing the error.
It is likely that the HTTP response code will be an HTTP-400.
To resolve the issue either:
(1) Stop the Web Service calls from the incoming IP address(es).
(2) Define a scripted REST or scripted SOAP Web Service that will handle the incoming request based on the URI and Method being made by the call. This is the documentation on Scripted REST and Scripted SOAP Web Services:
In Short have you defined this API in ServiceNow, if yes can you show me where have you defined this with a screenshot to assist you better.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0863480#:~:text=ServiceNow%20support%20can%20find%20the,incoming%20IP%20address(es).
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 09:47 PM