Skip Navigation
Expand
Permission to get views in the Knowledge Advanced REST API
Answer ID 12652   |   Last Review Date 07/05/2023

How do I GET /km/api/v1/views without the error "User not allowed to perform operation?"

Environment:
  • Knowledge Advanced REST API
  • GET /km/api/v1/views endpoint
  • Oracle B2C Service, All versions
Issue:
 
When I send a request to get views, the application returns the error OK-GEN0003 with message "An application error has occurred. Root Cause: User not allowed to perform operation."
 
Resolution:
 
The staff account used for the userToken in the kmauthtoken header must have the sysadmin role to use this endpoint. See the documentation for Knowledge Advanced Sysadmin Role to assign it.