SAP Knowledge Base Article - Public

2458958 - Library search returns Jam related error - LMS

Symptom

An error occurs when searching in the Library but can browse without any issues after navigating away from the error.

searchbar.png

ERROR:

https://[learning environment]/learning/user/api/v1/current-user/catalog/search/social - accessDenied_jsp - Ticket=nullFrom errorpage.jsp. StackTrace is org.springframework.security.oauth2.consumer.OAuth2AccessDeniedException: Error requesting access token.

Caused by: org.springframework.web.client.ResourceAccessException: I/O error: cubetree-server; nested exception is java.net.UnknownHostException: cubetree-server

Caused by: java.net.UnknownHostException: cubetree-server

BUT ALSO:

  • Unable to authenticate your user account. Please check your JAM account credentials.
  • Unable to connect to Jam to retrieve the search results. Please try again. If the issue persists, please contact your system admin.

"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

  • SAP SuccessFactors HXM Suite

Reproducing the Issue

  1. As a user, navigate to Learning and use the Library search
  2. Error appears

Cause

  • The search bar is launching both a Library search and a social library search.
  • The Social library is coming from JAM and therefore we need to review if the integration between LMS and JAM is correct
  1. Provisioning:

    YOURCompany > Authorized SP settings > Jam is configured:

    searchbar_prov.png


  2. LMS:

    Navigate to System Administration > Configuration > System Configuration > BIZX > successFactorsCubeTreeBaseURL=https://cubetree-server is not configured

    OR

    The user does not have permission to access JAM in Bizx but yet has the permission granted in LMS (or vice versa).

    JAM_permissions_2.jpg

Resolution

  1. Populate the successFactorsCubeTreeBaseURL with your JAM in the BIZX configuration file in your Learning environment.
    TIP: If you do not know your JAM URL, please review the Adminstrator guide available here and search for "Data Center URLs"
  2. Then clear your browser cache and cookies, close the browser
  3. Start a new browing session and log back in Bizx to access LMS and try to replicate the issue

    OR

    Make sure the Jam access permissions are consistent in both systems (HXM and LMS)

Keywords

SAP, SUccessFactors, learning, LMS, JAM, catalog search, LMS, cubetree-server, successFactorsCubeTreeBaseURL, token error, integration, social, search bar, Unable to authenticate your user account. Please check your JAM account credentials, Unable to connect to Jam to retrieve the search results. Please try again. If the issue persists, please contact your system admin. , KBA , LOD-SF-LMS-CAT , Catalog , LOD-SF-LMS-INT , Integrations with BizX , LOD-SF-JAM-LMS , Integration with LMS , Problem

Product

SAP SuccessFactors Learning all versions