SAP Knowledge Base Article - Public

3808083 - API calls fail with "Company does not exist in the data center" error when using incorrect SuccessFactors API endpoint

Symptom

API requests to a SuccessFactors instance return the error "Company [companyID] does not exist in the data center", even though the company ID is valid and the instance is accessible via the UI.

Environment

  • SAP SuccessFactors HCM Suite
    • SuccessFactors API

Cause

The API base URL used does not match the actual Data Center or Data Center Environment. This commonly occurs with preview instances hosted on Production Data Centers (or vice versa), where the customer assumes the endpoint type (preview/production) based on the instance type rather than the actual Data Center assignment. 

Resolution

  1. Refer to KBA 2215682 to identify the correct API endpoints associated with your instance's Data Center.
  2. Confirm which Data Center your instance is hosted on (e.g. DC70)
  3. Test with alternative environment endpoints listed for that same Data Center (e.g., if using a preview URL, try the production URL for the same DC, or the reverse).

Keywords

SuccessFactors, API, OData, company does not exist, data center, wrong endpoint, preview, production, DC, API base URL, integration, sapsf.com, successfactors.com, company not found, environment mismatch, invalid company , KBA , LOD-SF-INT-API , API & Adhoc API Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions