---
schema_version: "1"
id: fdcc57380e0ba0e815d03fdba823e688b53315fe396c578d74773e3942d6236a
title: HTTP 401 - Not Authorized
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/server/trusted_auth_trouble_401.md
canonical_url: https://help.tableau.com/v0.0/server/en-us/trusted_auth_trouble_401.htm
source_site: help.tableau.com
content_type: documentation
content_hash: db8b90f383f4525aa380825c46d37d5aa7b74caf509a39bc9ccc984fbf2dd17f
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/v0.0/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/v0.0/server/en-us/trusted_auth_webrequ.htm).