KNOWLEDGE BASE

Error "*** 404 "Not Found"" Using tabcmd export to Export to PDF


Published: 08 Aug 2014
Last Modified Date: 11 Aug 2017

Issue

When using tabcmd export to export a view to PDF, the following error might occur:

*** 404  "Not Found"

Environment

Tableau Server

Resolution

Ensure that the file path specified in tabcmd export does not contain the views directory or file extension. For example:
tabcmd export "/directory/workbook/sheet" -f "C:\tabcmd\directory\file.pdf"

Instead of:
tabcmd export "/views/directory/workbook/sheet.twb" -f "C:\tabcmd\directory\file.pdf"

Cause

The /views/ section of the URL is used with tabcmd get, but not tabcmd export.

Additional Information

For more information about the tabcmd export command and syntax examples, see Tabcmd Commands in Tableau Help. 
Did this article resolve the issue?