KNOWLEDGE BASE

Unable to Open Workbook Downloaded with Tabcmd Get


Published: 27 Mar 2013
Last Modified Date: 08 Feb 2017

Issue

After downloading a packaged workbook using tabcmd get, the workbook might not open and the following error message might occur:
 
An unexpected error occurred opening the packaged workbook
 

Environment

  • Tableau Server
  • Tableau Desktop
  • tabcmd

Resolution

The URL string of the file must include a file extension: tabcmd get "/workbooks/<name>.twbx" --filename "<UNC path>" 

For example:
tabcmd get "/workbooks/TestDashboard.twbx" --filename "./temp files/TestDashboard.twbx"

Cause

Requesting a workbook without properly specifying the file extension results in an unrecognizable file. For example:
tabcmd get "/workbooks/TestDashboard<no file extension> --filename "./temp files/TestDashboard.twbx"

Additional Information

For more examples and information about tabcmd get, see Tabcmd Get Url.
Did this article resolve the issue?