---
schema_version: "1"
id: 7906d4d147bf2eb909b92bb4ec77d59de44ddd6d744be28c33a56c20b7d145db
title: HTTP 401 - Not Authorized
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/server/trusted_auth_trouble_401.md
canonical_url: https://help.tableau.com/current/server/en-us/trusted_auth_trouble_401.htm
source_site: help.tableau.com
content_type: documentation
content_hash: afd01649e1cd41152b07d94e70925d1e27fa60ac535673609b764ff5b9298121
description: Understand the HTTP 401 Not Authorized error in trusted authentication.
---
[Skip to main content](#main-content)

# HTTP 401 - Not Authorized

If you receive a **401- Not Authorized error**, it could be for one of the following reasons: 

- You may have configured Tableau Server to use Active Directory with SSPI. If your web server uses SSPI, you do not need to set up trusted authentication. You can embed views and your users will have access to them as long as they are licensed Tableau server users and members of your Active Directory. For more information, see [tsm authentication sspi <commands>](https://help.tableau.com/current/server/en-us/cli_authentication_tsm.htm#TSMSspi).
    
    **Note:** SSPI can only be configured on Tableau Server for Windows.
- Or a **302- Redirect error** after you have deployed Tableau Server, then it's likely the trusted ticket code you have written to construct the URL for the client has not been updated to account for the two-part ticket URL format. For more information, see [Get a Ticket from Tableau Server](https://help.tableau.com/current/server/en-us/trusted_auth_webrequ.htm).