SAP Knowledge Base Article - Public

2221705 - Error - Insufficient Permission to Fulfill request exception for all recruiting SFAPI entities even though required permissions have been granted

Symptom

Query operation to Recruiting SFAPI entities fails with "Insufficient Permission" exception.

 

Response.JPG

 

 Below error message can be seen in debug log: 

*****************************************************************

Message=[Exception occurred in query operation!] RequestURL=[http://api10.successfactors.com/sfapi/v1/soap] Exception=[NO_PERMISSIONS_EXCEPTION: Insufficient permissions! Detailed message: Insufficient permissions to fulfill request] Error Code=[NO_PERMISSIONS_EXCEPTION] Error Message=[Insufficient permissions! Detailed message: Insufficient permissions to fulfill request] StackTrace=[com.successfactors.wsapicore.fault.SFDomainException: NO_PERMISSIONS_EXCEPTION: Insufficient permissions! Detailed message: Insufficient permissions to fulfill request
at com.successfactors.wsapi_v1.domain.rcmwebservices.processor.RCMWebServiceDomainProcessor.checkQueryPermission(RCMWebServiceDomainProcessor.java:118)
at com.successfactors.wsapi_v1.SFAPIServiceFacade.query(SFAPIServiceFacade.java:295

Environment

Successfactors System

Cause

Configuration Issue

Content of debug log shows that webservice for recruiting APIs has not been enabled.

Resolution

Recruiting SFAPI Webservices can be enabled from the provisioning system i.e. backend system

  1. Login to Provisioning system.
  2. Go to company settings->Recruiting-> Enable SFAPI WebServices.
  3. Save the changes. 

This option allows admin to grant selected users SFAPI permissions to recruiting objects.

Keywords

KBA , LOD-SF-INT-RCM , RCM-Any Integration , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Problem

Product

SAP SuccessFactors HCM Core all versions