Symptom
After the b1811 release you are observing the following error message in your OAuth2 response with HTTP 401 Unauthorized error:
- [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 https://help.sap.com/viewer/d599f15995d348a1b45ba5603e2aba9b/latest/en-US/03e1fc3791684367a6a76a614a2916de.html.
Read more...
Environment
SuccessFactors OData API - OAuth2
Product
SAP SuccessFactors HCM Suite all versions
Keywords
-
OData API, SuccessFactors, OAuth2 authentication issue, HTTP 401 Unauthorized, LGN0004, [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 https://help.sap.com/viewer/d599f15995d348a1b45ba5603e2aba9b/latest/en-US/03e1fc3791684367a6a76a614a2916de.html.
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.