Notifications

13 views

Description

When a user tries to switch tabs in the dashboard, nothing happens and the tab doesn't get changed. We don't see any error message on the page itself but when we try to inspect the page, we see an error like below in the console:

 

js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:124 SyntaxError: Unexpected token in JSON at position 473
at JSON.parse (<anonymous>)
at Cc (js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:21)
at gc (js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:98)
at js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:99
at q (js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:12)
at md (js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:99)
at f (js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:101)
at js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:137
at m.$eval (js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:152)
at m.$digest (js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:149)
(anonymous) @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:124
(anonymous) @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:97
(anonymous) @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:138
$eval @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:152
$digest @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:149
$apply @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:152
l @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:104
K @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:108
N.onload @ js_includes_dashboards_2.jsx?v=09-06-2019_0928&lp=Fri_Jul_12_19_24_58_PDT_2019&c=20_377:109
load (async)

Release or Environment

Kingston, London, Madrid

Cause

The error mentioned above is seen when there are one or more records with "name" or "description" or "title" containing Non-ASCII characters on [pa_widgets] or [sys_report] tables.

 

The attached screenshot shows the presence of Non-ASCII characters and they are highlighted in red color. Please note that these may be whitespace characters and may not be visible directly and we need to use supported editor/tool to detect them.

Resolution

The solution to fix them is to remove the Non-ASCII characters from the "name" or "description" or "title" on [pa_widgets] or [sys_report] tables

Article Information

Last Updated:2019-12-25 22:04:48
Published:2019-12-16