SAP Knowledge Base Article - Public

3394510 - 2H 2023: Invalid SFAPI session! errors in Talent Addon

Symptom

You are experiencing Invalid SFAPI session! errors in Talent Addon scenarios and wish to know the root cause.

Environment

SAP SuccessFactors Talent Addon Solution

Reproducing the Issue

  1. Run relevant Talent Addon report (e.g. RH_SFI_SYNCH_COMP_DATA, RH_SFI_TRIGGER_JOB_REQUISITION, RH_SFI_IMPORT_RECRUITING_DATA)
  2. API error will appear, visible in API reporting or middleware (CPI, PI/PO)

Cause

Known issue

Resolution

Please see below for root cause analysis and the full breakdown and details of the fix:

The root cause was the fact that cookies were masked by SFAPI and sent back to the customer (since the masked cookies were not decoded and sent back, our APIGEE servers were unable to decode and route the call correctly, which was causing the issue)

To resolve the issue our Engineering team unmasked the hostname for the sharedflow (our internal reference SFRE-29762) and deployed UnMaskHostName sharedflow gradually in all Preview and Sales demo environments.

Details and internal references:
o    APJ : CHG2611972 (Preview)
o    AMR : CHG2611977 (Preview)
o    MENA : CHG2611968 (Preview)
o    EMEA : CHG2611975 (Preview)
o    AMR(DC68): ECR CHG2611983 (Sales Demo)

As a following step, the Engineering team implemented the changes and requested the API Ops team to validate from their end.
Subsequently our API Operations team informed that the shared flow version : UnMaskHostName were updated to 2023.4 for all preview/SD environments and confirmed that the errors were also reduced. 

Environments are stable and under close monitoring.

See Also

https://help.sap.com/docs/SFIHCM

Keywords

INC6401768, Invalid SFAPI session!, Invalid SFAPI session, talent, addon, add-on, talent addon, SFIHCM, Logout FailedERP technical error logout of successfactors failed, Web service: INVALID_SESSIONInvalid SFAPI session!, Web service: GENERAL_ERROR Error during proxy processing, Web service: Application Error, Technical error: Receiving list of SFObjects from SFSF failed, KI2311, 2H 2023, 2311, KEA, Known Error, known issue, bug, error, fix, defect, release, production, preview, H2, CHG2611972, SFRE-29762, CHG2611977, CHG2611968, CHG2611975, CHG2611983 , KBA , LOD-SF-INT-API , API & Adhoc API Framework , PA-SFI-TM , Integration with SuccessFactors BizX Talent Management , Problem

Product

SAP SuccessFactors HCM suite all versions