SAP Knowledge Base Article - Public

2414704 - Record Learning Error: 403 Forbidden, Error Requesting Access Token

Symptom

  • Some admins are unable to record learning for item(s) or classes.
  • This specific error message will be displayed in the interface and logs.

com.plateausystems.elms.util.helper.ElmsUncheckedException: org.springframework.security.oauth2.consumer.OAuth2AccessDeniedException: Error requesting access token. at com.plateau.sfintegration.impl.trainingevent.CDPTrainingEventServiceImpl.addComponentTrainingEvent(CDPTrainingEventServiceImpl.java:224) Caused by: org.springframework.security.oauth2.consumer.OAuth2AccessDeniedException: Error requesting access token. Caused by: org.springframework.web.client.HttpClientErrorException: 403 Forbidden

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

  • SAP SuccessFactors Learning 
  • Career Development Plan

Reproducing the Issue

  1. Login to CDP (also known as Career Development Plan) and add a Learning Activity for a user or as a user (self-assigned).
  2. Learning admin: Go to the Learning admin side and try recording the learning for the user via the Record Learning Tool.

    OR

    Try recording the learning from the Actions menu of the class record.
     
  3. The error will be displayed and the learning will not be recorded.

Cause

  • The communication failure between the Learning and the CDP module is due to a difference in the users/admin IDs mapping.
  • This prevents the admin from recording the learning completion.
  • Learning and CDP being two different modules there is a validation process required to authorize communication (in this case: updating the completion status in CDP for the learning recorded in Learning) between both modules.
  • One of the criteria required for this validation to be successful is to have matching match IDs for BizX user, Learning user and Learning admin who is performing the recording activity.

Resolution

  • The ID mapping needs to be corrected to ensure that BizX user ID= Learning user ID = Learning admin ID.
  • In most cases BizX ID=Learning user ID but the Learning admin ID is different and therefore a new admin account needs to be created and related to the Learning user:
  1. Learning Administration > System Administration > Security > Administrators > Search for the admin record who is facing the issue >
  2. Remove the association with the current user in Learning (delete the value in the field: "related user" in the Summary Tab) >
  3. Create a new admin record with an ID that matches the Learning user ID and BizX ID >
  4. In this new admin record: Associate the corresponding Learning user ID in the "related user" field in the Summary Tab.

Note: Matching the IDs is the best recommended practice in an SAP SuccessFactors integrated environment.

Keywords

lms, LRN-16663, career, development, plan, activity, record, completed, learning, financial, multiple, completion , KBA , LOD-SF-LMS-CDP , Career Development Program , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS-INT , Integrations with BizX , Problem

Product

SAP SuccessFactors Learning all versions