try adding --no-certcheck to each tabcmd to see if this helps. I just suggest this because it appears that you are using https and maybe something happened with the certificate.
Using the same credentials, are you able to download a PDF of the Dashboard you require through the UI?
I have this same problem as of this morning (3/3/17) - was working fine on Friday 3/2/2017.
I am using Tableau online (https://online.tableau.com)
tabcmd export "<tableau_online_view>" --pdf -f "TEST.pdf" --no-certcheck
gives a "Failed to create VizQL session on the server" for any workbook.
Tried generating a pdf with url parameter directly and it returned a pdf correctly (https:/.../<tableau_online_view>.pdf)
This command returns a png as expected
tabcmd export "<tableau_online_view>" --png -f "TEST.png" --no-certcheck
Same problem here. Everything was working correctly on 3/31. As of 4/3, Tabcmd has stopped exporting my PDFs via Tableau Online.
1 of 1 people found this helpful
Our technicians are aware of the issue but in the preliminary stages of investigation. We'll need examples so please submit support cases to help us find a solution!
Thanks Diego. I've submitted a case (02847783). Let me know if you need anything else.
We will be updating the Trust site shortly. There are two current known workarounds (may or may not be helpful depending on use case).
1. Export the workbook PDF using the Download > PDF option via the web browser.
2. Remove the --fullpdf option from the export command.
Thanks for the quick replies. My answers to the different questions:
I tried with the --no-certcheck parameter but the result was the same.
I am able to download the pdf with the same credentials from the UI. This is the current workaround but it is not ideal because it delays the submission of the dashboard to the management.
We have created case# 02844564
I have tried removing the --fullpdf option and I don't get the previous error but the pdf is incorrectly formed. I get an error when trying to open it. I have attached a screenshot.
Hopefully the issue gets solved soon.
any update on this issue? We are waiting for a fix also as we need to deliver 2,000 reports this week so the manual workaround is not an option for us unfortunately.
Brandon, thanks for the update. Unfortunately, I am stuck right now. The workarounds only work if you are willing to export one report at a time. I unfortunately have 490 of these, each of which go to unique individuals outside of the organization. The other workaround doesn’t apply because it sounds like it is only for exporting single page PDFs, and I am running multi-page PDFs. But if you have any additional suggestions, please let me know. Thanks!
We've been testing on our end to see if there are any other possible workarounds and I think I might have one for you. If you're trying to export views rather than workbooks, we should be able to use the "tabcmd get" command rather than "tabcmd export" and it should allow us to print multi-page PDF's. The syntax is slightly different, and needs to be in the form of the following: tabcmd get "/views/WorkbookName/ViewName.pdf" -f "DestinationPath.pdf"
See tabcmd Commands for more info. Let me know if this works.
'Tabcmd get' would likely be a good workaround for many. However, I'm exporting multi-tabbed workbooks to PDF using 'tabcmd export' which appears to be the only tabcmd function that will do such a thing. But hopefully 'tabcmd get' can help others who need to export many PDFs at once. Thanks for the suggestion.
This issue should now be resolved! We have posted an update on the Trust site as well as the KB article below:
Thank you Brandon and everyone else who worked on this. I am running it now and it looks like everything is working correctly.