---
schema_version: "1"
id: af6f51af782b7824a7d2263946e9ddd0d15d611d99463bb970fe81b621767041
title: HTTP 401 – 未授权
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server-linux/trusted_auth_trouble_401.md
canonical_url: https://help.tableau.com/current/server-linux/zh-cn/trusted_auth_trouble_401.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 52e16d2cf9e58913e2d8e5bc0a2db832d4c71ae626ce1bc968692dd43863d414
description: Understand the HTTP 401 Not Authorized error in trusted authentication.
---
[跳转到主要内容](#main-content)

# HTTP 401 – 未授权

如果您收到**“401- 未授权”错误**，可能是由于以下原因之一导致的： 

- 您可能已将 Tableau Server 配置为将 Active Directory 与 SSPI 结合使用。如果您的 Web 服务器使用 SSPI，则无需设置受信任身体验证。您可以嵌入视图，这样，只要您的用户是 Tableau. Server 许可用户并且是您的 Active Directory 的成员，他们就可以访问这些视图。有关详细信息，请参见[tsm authentication sspi <commands>](https://help.tableau.com/current/server-linux/zh-cn/cli_authentication_tsm.htm#TSMSspi)。
    
    **注意：**只能在 Windows 版 Tableau Server 上配置 SSPI。
- 或者在部署 Tableau Server 后看到 **302- Redirect 错误**，则您编写用以构造客户端 URL 的受信任票证代码可能未针对两部分票证 URL 格式的帐户进行更新。有关详细信息，请参见[从 Tableau Server 获取票证](https://help.tableau.com/current/server-linux/zh-cn/trusted_auth_webrequ.htm)。