SAP Knowledge Base Article - Public

3051071 - IPS sync failing - Unable to write entity to SAC due to Oauth request failed with status 401 unauthorized_client

Symptom

IPS sync is failing with the following error message:

error=com.sap.cloud.ips.connectors.api.ConnectorException: Unable to write entity to target system with name SAP Analytics Cloud - companyid - target Caused by: com.sap.cloud.ips.connector.exception.ProvisioningRuntimeException: Oauth request failed with status: 401 and body: {"error":"unauthorized_client"},

Environment

SAP SuccessFactors HXM Suite

Cause

The sac_tech_user from SAC target system in IPS has been changed.

Resolution

The SAC user in IPS should not be changed. Refer KBA 2967617 - People Analytics - SAC Target configuration in IPS for the default settings.

In order to fix the issue, SAP has to restore the default SAC configuration. To do that, you have to:

  1. Delete the SAC target system in IPS (refer Help Portal guide)
    • NOTE: If you have a custom transformation in IPS, you can export it prior to deleting the system and later on replace the transformation again.
  2. Raise a support ticket to LOD-SF-ANA-SAC.

SAP support team will follow the internal KBA 3009884 and the SAC target system should be available again in IPS with the right username and password. In case it is restored as Disabled, please enable it before trying to sync the users (the next sync will pick up all users again). Also, make sure that the source system parameter is set correctly in SAC target system. 

Keywords

IPS SAC 401 error unauthorized_client sync users people analytics , KBA , LOD-SF-ANA-SAC , People Analytics (Analytics Cloud for SF) , Problem

Product

SAP SuccessFactors HXM Suite all versions