Error "Request-URI Too long" Publishing Via Connection with Okta SAML

Published: 24 Jan 2018
Last Modified Date: 26 Mar 2018


When publishing a workbook from Tableau Desktop to Tableau Server where Okta SAML authentication is enabled, the following error occurs: 
Request-URI Too Long
The requested URL's length exceeds the capacity limit for this server.


  • Tableau Desktop 10.5
  • Tableau Server 10.5
  • Okta SAML


Configure the SAML IdP to use a redirect URL with 255 or fewer characters.

Alternatively, disable SAML for use from Tableau Desktop.
Open a command prompt as an administrator and navigate to the Tableau Server bin directory, located by default at C:\Program Files\Tableau\Tableau Server\<version>\bin. Then run the following commands: 
tabadmin stop
tabdmin set wgserver.authentication.desktop_nosaml true
tabadmin config
tabadmin start



The Okta IdP is using a session redirect link to retrieve the session cookie, and the URL is too long for the internal web connection used by Tableau Desktop. See the section on "Retrieving a session cooking by visiting a session redirect link" at Session cookie in Okta's documentation. The limitation is similar to the one documented for Internet Explorer.
Did this article resolve the issue?