SAP Knowledge Base Article - Public

3516797 - IPS sync failing - CSRF Token - Stories in People Analytics

Symptom

IPS sync is failing with the following error message:

  • Header X-CSRF-Token not found among response headers
  • An error has occurred while trying to retrieve a CSRF token. Caused by: Target host is not specified

Environment

SAP SuccessFactors HCM Suite

Reproducing the Issue

  1. Check the IPS logs
  2. Check the log for the affected SuccessFactors
  3. Notice that it is failing for SAC target system with one of the errors below:
  • Header X-CSRF-Token not found among response headers
  • An error has occurred while trying to retrieve a CSRF token. Caused by: Target host is not specified

Cause

OAuth2TokenServiceURL is missing in the target system properties

Resolution

Customer needs to raise a ticket to LOD-SF-ANA-SAC.

Support team:

  • For CF tenants:

Support team needs to contact engineering team, they will share the value for OAuth2TokenServiceURL to be set in SAC target system in IPS. While adding this value the system will request the password which will also be shared by engineering team as per KBA 3051071

 

  • For NEO tenants: 

Support team needs to contact engineering team, they will update the value for OAuth2TokenServiceURL and the password via backend. IPS admin access needs to be granted by the customer to engineering team.

Keywords

Connector cannot process more entities due to irreparable error Caused by: An error has occurred while trying to retrieve a CSRF token. Caused by: Target host is not specified, Header X-CSRF-Token not found among response headers, IPS sync, successfactors, SAP Analytics Cloud , KBA , LOD-SF-ANA-SAC-IPS , IPS configurations and Sync Job , Problem

Product

SAP SuccessFactors HCM Suite all versions