Knowledge Management REST API not return articles

Gianluca7
Tera Contributor

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?

1 REPLY 1

vaishali231
Mega Sage

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