Symptom
An HTTP 404 (Not Found) error is returned when attempting to connect to a SuccessFactors API endpoint - for example, /rest/timemanagement/absence/v1/timeAccountBalances.
Environment
- SAP SuccessFactors HCM Suite
- OData API
- REST API
- SFAPI
Cause
An HTTP 404 error indicates that the server could not locate the requested resource. This typically means the request URL is malformed, contains a typo, or points to a path that does not exist on the server.
Resolution
The issue is caused by an incorrect element in the HTTP request. The following aspects of the request should be reviewed:
- URL path - verify that the endpoint path is spelled correctly and matches the API specification, including correct casing and no extraneous characters.
- Base URL - confirm that the correct data center hostname is being used for the target instance.
- Headers - ensure all required headers are present and correctly formatted.
See Also
SAP Help Portal - HTTP Response Codes
Keywords
HTTP 404, Not Found, REST API, typo, , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT-API , API & Adhoc API Framework , Problem
SAP Knowledge Base Article - Public