SAP Knowledge Base Article - Public

3401391 - SFAPI: INVALID_QUERY_SESSION

Symptom

Error:  SFAPI Domain Error!, errorCode INVALID_QUERY_SESSION, errorMessage: Invalid query session cause: org.apache.cxf.binding.soap.SoapFault: SFAPI Domain Error!

Environment

  • SAP SuccessFactors HCM Suite
  • SFAPI 

Reproducing the Issue

1. Run a query more against the SFAPI

2. Exception INVALID_QUERY_SESSION is thrown

Cause

This error occurs during a rolling upgrade in the maintenance window when a user performs a QueryMore operation and the SFAPI_SESSION_KEY_QUERYSESSION attribute for the session is larger than 2M.

Resolution

Please wait for the rolling upgrade to finish and retry.

Keywords

SFAPI, INVALID_QUERY_SESSION,  , KBA , LOD-SF-INT-CE , Compound Employee API , LOD-SF-INT , Integrations , LOD-SF-INT-API , API & Adhoc API Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions