Sign in To Tableau Server from Tableau Desktop Fails with "(errorCode=16)"

Published: 10 Dec 2015
Last Modified Date: 08 Jul 2022


Upon signing in to Tableau Server from Tableau Desktop, the following error message is received:
Not authorized
Invalid username or password.


  • Tableau Server 
  • Tableau Desktop


These are potential workarounds:

Option 1

  1. Close all instances of Tableau Desktop and Tableau Prep
  2. Open Tableau Desktop, navigate to "Help" > "Settings and Performance" > "Clear Saved Server Sign-Ins"
  3. Log into Tableau Server from Tableau Desktop

Option 2 - Clearing Tableau Desktop logs

  1. Make sure that Tableau Desktop is not running. Close all the open Tableau Desktop windows if there is any.
  2. Navigate to C:\Users\<User Name>\Documents\My Tableau Repository
  3. Delete 'Logs' folder. The new "Logs" folder will be created in the My Tableau Repository folder upon starting the Tableau Desktop.

Option 3

  1. Make sure that "Allow clients to automatically connect to Tableau Server." is checked on Tableau Server settings.
  2. In the site menu, click Manage All Sites, and then click Settings > General.
  3. Under Connected Clients, check the option Allow clients to automatically connect to Tableau Server.
  4. Click Save.

Additional Information

This error can occur anytime a connection between Tableau Desktop and Tableau Server is initiated, such as:
  • During login to Tableau Server
  • Publishing a data source or workbook
  • Connecting to a published data source or workbook
For more information, see Sign out or clear all saved connections
Did this article resolve the issue?