SAP Knowledge Base Article - Public

2830321 - You are not allowed to access OData APIs - SAP SuccessFactors HCM suite


You are trying to access the data via APIs and we are getting below error message:

Error Response: [LGN0004]You are not allowed to access OData APIs using Basic Auth or OAuth on a non-API server. To do this, you need to switch to the corresponding API server. For a list of available servers, visit


SAP SuccessFactors HCM suite - Odata API


The URL that you using is wrong.


Change the API URL, according KBA 2215682

See Also

 About HCM Suite OData APIs


LGN0004; You are not allowed to access OData APIs; API server , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT-API , API & Adhoc API Framework , Problem


SAP SuccessFactors HXM Suite all versions