An issue has been introduced with the ArcGIS Pro 2.2.2 patch that causes the Color Coded Layer geoprocessing tool to fail if run from the Python script with a locally installed Business Analyst dataset.
Note: ArcGIS Pro 2.2 Patch 3 (2.2.3) was released on October 5, 2018. However it does not resolve this issue. Please use the workaround described below. ArcGIS Pro 2.2 Patch 2 (2.2.2) is no longer available for download.
The issue is only encountered if the installed Business Analyst dataset has not already been accessed within the Pro session.The failure is specific to this tool and scenario and is caused by an empty data cache.