SAP Knowledge Base Article - Public

3670210 - Invalid SFAPI session error when executing Compound Employee Delta Export

Symptom

While running Employee Delta Export, below error is thrown on the "Errors" page in the excel sheet:

<errorCode>INVALID_SESSION</errorCode><errorMessage>Invalid SFAPI session!</errorMessage>

Environment

  • SAP SuccessFactors HCM Suite
    • SFAPI
      • Compound Employee API

Reproducing the Issue

  1. Develop a customized Employee Delta Export Single Sheet template based on the default template.
  2. Execute the customized template in the test environment.
  3. Observe the error message: Invalid SFAPI session!.

Cause

Session cannot be validated properly due to current configuration settings.

Resolution

  1. Open the Employee Delta Export Single Sheet template which is failing with this error.
  2. Locate the "Records per Request" parameter in the template settings, can be found under 'Select Options' on the "Config" page.
  3. Increase the value of "Records per Request" from 100 to 200.
  4. Execute the customized template again to confirm the resolution of the issue.

Should the issue still persists, try setting a higher value for "Records per Request". Always increase the value gradually, for example from 100 to 200, 200 to 300, and so on.

See Also

Keywords

employee delta export, single sheet template, sfapi, invalid sfapi session, records per request, compound employee api, ce api , KBA , LOD-SF-INT-CE , Compound Employee API , Problem

Product

SAP SuccessFactors HCM Suite all versions