SAP Knowledge Base Article - Public

3465760 - Error: [LGN0022]Person-only not supported when gace flag is off.

Symptom

When attempting to utilize an OAuth2 Bearer Assertion destination within a SAPUI5 application to connect with SAP SuccessFactors BizX, an error occurs when requesting SuccessFactors metadata. The error message received is as follows: [LGN0022]Person-only not supported when gace flag is off.

Environment

  • SAP SuccessFactors HXM Suite
    • OData API

Reproducing the Issue

  1. Download Certificate in BTP Destination Service;
  2. New Oauth2 client registration in Successfactors and upload of the certificate previously
    downloaded in BTP Destination service;
  3. Destination creation;
  4. Application login and check on the developer tools;
  5. You will see the error.

Cause

The error: "[LGN0022]Person-only not supported when gace flag is off" relates to functionality which is not fully live yet on SF side.

Resolution

The error appears to be caused by the inclusion of the parameters "person_only" and "person_guid" in the authentication process.

As a solution, please remove the "user_uuid" attribute from the IAS side.

Keywords

Authentication error, Authentication parameters, "person_only", "person_guid", IAS, certificate, SAPUI5, oAuth2 , KBA , LOD-SF-INT-ODATA-OAU , ODATA OAUTH Authentication , Problem

Product

SAP SuccessFactors HCM suite all versions