SAP Knowledge Base Article - Public

2611769 - LMS: 500 Internal Server Error when testing ODATA API

Symptom

 500 Internal Server Error when testing ODATA API

Environment

SAP Successfactors Learning Management System (LMS)

Reproducing the Issue

Test any Learning OData API.

ex: Get Learning History

Cause

There are unnecessary spaces in the URL.

Resolution

Remove the unnecessary spaces.

ex:

/learning/odatav4/public/user/learningHistory/v1/learninghistorys?
$filter=criteria/maxNumberToRetrieve eq 10 and
criteria/includeDeepLink eq true

It should be:

/learning/odatav4/public/user/learningHistory/v1/learninghistorys?$filter=criteria/maxNumberToRetrieve eq 10 and criteria/includeDeepLink eq true

See Also

2191572 - Where can I find Learning Web Services API Reference Guide?

2318897 - LMS ODATA Webservices Knowledge Support and Tips

Keywords

ODAT, API, 500 Internal Server Error, LMS, Learning, GET, POST , KBA , LOD-SF-LMS-ODA , LMS Web Services OData , LOD-SF-LMS , SuccessFactors Learning , Problem

Product

SAP SuccessFactors Learning all versions