====== How to resolve 'undefined is not a valid color string' error in N4V for Webi Sankey graphs ====== //Anonymised summary of support ticket #114048 (2024-07-04)// ===== Symptom ===== %%Error 'undefined is not a valid color string' occurs when rendering a Simple Sankey graph in N4V for Webi, unless the 'Use a single color for nodes' option is enabled in advanced settings.%% ===== Environment ===== N4V for Webi versions prior to 2023.1.0, SAP BusinessObjects Web Intelligence, Tomcat or similar application server. ===== Resolution ===== - Upgrade N4V for Webi to version 2023.1.0 or later, as the issue was fixed in these releases. - %%If performance issues occur after upgrade, exclude N4V and SAP BusinessObjects directories and related Java/Node.js processes from antivirus real-time scanning to prevent CPU saturation.%% - %%If services fail to start after upgrade, verify the configuration file 'config.js' located in 'Need4Viz odejs ode_modules e4v esources e4v_libs e4v_config.js'. Ensure the 'URLNodeJSServer' parameter is uncommented and correctly set to the Webi portal URL.%% - %%Restart N4V services using 'pm2 stop all' followed by 'pm2 start all' in an administrator PowerShell window.%% ===== Other resolution ===== The issue was also related to an incorrect configuration parameter preventing services from starting properly after an upgrade.