KNOWLEDGE BASE

Error "There is an error parsing Preferences.tps. [...]" After Adding Custom Colour Palette


Published: 21 Feb 2020
Last Modified Date: 26 Feb 2020

Issue

When launching Tableau Desktop after modifying the Preference.tps file to add custom colour palette, the following error might occur:

There is an error parsing Preferences.tps. This can occur if quotation marks other than basic single quotes (') or double quotes(") are used around attribute names. Until this is corrected, Tableau Desktop will use the default color palettes.
The following 1 errors occurred while parsing Preference file"C:\Users\username\Documents\My Tableau Repository\Preferences.tps":
Fatal Error(##,#): comment or processing instruction expected (id: C:\Users\username\Documents\My Tableau Repository\Preferences.tps)

Environment

Tableau Desktop

Resolution

Inspect the Preference.tps file for any missing or extra single (') or double quotes(").

Cause

There is single (') or double quotes(") incorrectly added in the Preferences.tps file.
Did this article resolve the issue?