KNOWLEDGE BASE

Error "***406-"Not Acceptable"" When Exporting CSV Files


Published: 20 Mar 2017
Last Modified Date: 20 Mar 2017

Issue

You may see a “*** 406 “Not Acceptable”” error message, when trying to save a view using the tabcmd "get" command or when trying to export a view using the tabcmd "export" command.

 

Environment

  • Tableau Server
  • CSV Files

Resolution

This error message may occur for one of the following reasons listed below:

  1. URL of the view is incorrect. When running tabcmd "get" or tabcmd "export" commands, ensure that the URL of the intended sheet is correct.
  2. Tabcmd URL is incorrect. For example, suppose you have a view that is located here: http://localhost/views/Variety/BaseballStatistics.
    • The tabcmd get command requires the URL of the intended view to begin from “views/”. That is, for the example above, the path used for the tabcmd get command is tabcmd get “views/Variety/BaseballStatistics.png” -f C:\MyReports\BaseballStatistics.png
    • The tabcmd export command requires the URL of the intended view to begin after the “views/”. That is, for the example above, the path used for the tabcmd export command is tabcmd export “Variety/BaseballStatistics” -png -f C:\MyReports\BaseballStatistics.png
  3. Issues related to SQL Server-based data sources. If the view is connected to a SQL Server-based data source, there may be a conflict with the TCP Chimney Offload that needs to be disabled on the machine running SQL Server. TCP Chimney Offload is a networking technology that helps with moving data across a network. For more information about how to disable this setting, refer to the Microsoft KB article: http://support.microsoft.com/kb/945977.

Additional Information

Note:
  • For views from Tableau Server 8.1 through 8.3, ensure that you do not include the hash symbol (#) and number at the end of the URL.
  • For Tableau Server 9.0 and later, do not include ":iid=<n>" at the end of the URL.
Did this article resolve the issue?