SAP Knowledge Base Article - Public

3062706 - Error when User attempts to view Learning History tile

Symptom

When a user attempts to open their Learning History tile, it fails to load. The 'Loading....' prompt is displayed continuously and the data never loads.

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

Reproducing the Issue

  1. In this example, we'll take Italian as the default locale.
  2. So as a user select the 'Cronologia didattica' tile



  3.  When selected, the information in the tile will not load for the Italian locale.

Cause

When using the browser logs to capture what happens when the tile is launched, the following error is noted:

grouped_juic_components_js_xml.6816fe399dfd66d5c82a0d090bf896f7.merged.js;mod=c6c30d79:464 [ERROR]  Uncaught exception SyntaxError: Unexpected token “ in JSON at position 1

Resolution

The admin will need to review the following three labels for the Italian locale:

label.CalendarMonths

DEFAULT >  ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"]

CUSTOMER >  ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"] 

label.CalendarSMonths

DEFAULT >  ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"]

CUSTOMER >  [“Gen”, “Feb”, “Mar”, “Apr”, “Mag”, “Giu”, “Lug”, “Ago”, “Set”, “Ott”, “Nov”, “Dic”]

label.CalendarDOWMin

DEFAULT >   ["Do","Lu","Ma","Me","Gi","Ve","Sa"]

CUSTOMER >  ["Do","Lu","Ma","Me","Gi","Ve","Sa"]

Note that for label.CalendarSMonths the quotation marks which encase the values are not correct. You will need to update and populate the values for label.CalendarSMonths back to the default values.

Keywords

Uncaught exception, SyntaxError, Unexpected token “ in JSON at position 1, label.CalendarMonths, label.CalendarSMonths, label.CalendarDOWMin , KBA , LOD-SF-LMS-LAN , Language Packs & Translation , Problem

Product

SAP SuccessFactors Learning all versions