KNOWLEDGE BASE

Error "Not authorized Only Tableau authentication type is supported for tabcmd" With Tableau Online


Published: 27 Mar 2017
Last Modified Date: 21 Apr 2017

Issue

When using "tabcmd login" with Tableau Online, the following error might occur:
***Not authorized
Only Tableau authentication type is supported for tabcmd. Site admins can change users' authentication type on the Users page when signed in to the
browser environment. (errorCode=16) 

Environment

Tableau Online 10.2

Resolution

As a workaround, explicitly specify the site ID on the "tabcmd login" command using the --site or -t options. As an example:
 
tabcmd login http://online.tableau.com -t mySite

Cause

The Tableau Online update in March 2017 caused a problem where http://online.tableau.com sometimes redirects to the wrong regional server. Explicitly specifying the site enforces the appropriate redirection.
Did this article resolve the issue?