SAP Knowledge Base Article - Public

2904498 - "Invalid SFAPI session" error

Symptom

You are making CompoundEmployee/SFAPI calls to SuccessFactors but an error is being thrown: "Invalid SFAPI session"

Environment

SAP SuccessFactors HCM Suite

Cause

The session ID timed out after 10 minutes of inactivity.

Resolution

Authentication is established through the Login operation. A successful login returns a session ID as an HTTP Cookie.

This cookie must be passed back to all subsequent API requests with less then 10 minutes of inactivity between the requests, in order to authenticate.

See Also

Security and Session Management chapter of CompoundEmployee guide

Keywords

INVALID_SESSION, Invalid, SFAPI, session, id, CompoundEmployee, Compound Employee  , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT-CE , Compound Employee API , Problem

Product

SAP SuccessFactors HCM Suite all versions