Error "Error in parameters for command 'connection-custom-sql-ui'/bad value: connection-name" Editing Custom SQL
Published: 02 Feb 2018 Last Modified Date: 02 Feb 2018
When you try to edit custom SQL for a datasource, the following error occurs:
Error in parameters for command 'connection-custom-sql-ui'/bad value: connection-name
Tableau Desktop 10.4.0
Rename the datasource in question, removing all special characters:
Open a worksheet within the affected workbook
In the Data pane, on the left, right-click on the datasource in question and select Rename
Rename the datasource, ensuring only basic alphanumeric chartacters are used
Tableau Desktop was unable to parse a special character, such as ç or ó
A similar error can be triggered with other actions in Tableau Desktop, such as publishing. While the command section of the error may be different, if bad value: connection-name is in the error, then the resolution may still be to rename the datasource, removing special characters.
Thank you for providing your feedback on the effectiveness of the article.