SAP Knowledge Base Article - Public

2383902 - OData API-LearningItemDetails "ERROR: error.public.rest.item.noaccess"

Symptom

Upon calling the LearningItemsDetails an error is received:

"error": {

"code": null

"message": "ERROR: error.public.rest.item.noaccess "

}

Environment

SuccessFactors Learning Management System (LMS) - All Supported Versions

Reproducing the Issue

Successfully get the Authorization token using:

{
"grant_type":"client_credentials",
"scope":{
"userId":"student_ID",
"companyId":"yourcompanyID",
"userType":"user",
"resourceType":"learning_public_api"
}
}

 

Make the LearningItemsDetails call:

GET https://company.plateau.com/learning/odatav4/learningPlan/v1/LearningItemDetails?$filter=lisCriteria/itemID eq 'item' and lisCriteria/itemTypeID eq 'API_TEST' and lisCriteria/revisionDate eq 1474560282000

Resolution

Check that the user that was used to call the token with has access to the particular item that was called. Once the item is assigned, the call will be successful.

Keywords

OData, API, LearningItemDetails, LMS, learningPlan, error , KBA , LOD-SF-LMS-ODA , Web Services OData , Problem

Product

SAP SuccessFactors Learning all versions