Knowledge Management REST API not return articles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi,
when we try to call the API /api/sn_km_api/knowledge/articles with Oauth authentication and a user with admin role the response is no articles despite we have lots of published articles in our instance. I also tried with api/sn_km_api/v1/knowledge/articles but the response is the same. If I try with REST API Explorer I have the correct articles in the response.
How is it possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hey @Gianluca7
I would suggest checking whether both requests are using the same user context and query parameters.
Also, verify the Knowledge Base read access rules and Can Read user criteria for the OAuth user. Even with the admin role, the effective access context may differ.
************************************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.
Regards
Vaishali Singh
Linkedin - https://www.linkedin.com/in/vaishali-singh-2273361bb
