KNOWLEDGE BASE

Error 401001 Occurs When Attempting to Authenticate Using the REST API With Personal Access Tokens


Published: 16 Nov 2020
Last Modified Date: 29 Dec 2022

Issue

When attempting to login to Tableau Cloud or Server using REST API with Personal Access Tokens, the following error occurs:
 
<error code="401001">
<summary>Signin Error</summary>
<detail>Error signing in to Tableau Server</detail>

Environment

  • Tableau Cloud
  • Tableau Server
  • REST API
  • Personal Access Tokens

Resolution

Create a new Personal Access Token and replace the old one in the login request. For more information, see the Token expiry section of the Personal Access Tokens
article. 

Cause

Personal access tokens will expire if they are not used after 15 consecutive days. If they are used more frequently than every 15 days, an access token will expire after 1 year. 
Did this article resolve the issue?