---
schema_version: "1"
id: c4cce5fc9c1451484946cd1127d983da44cc27ede08a8b109562c20e2267266f
title: HTTP 401 – 未授权
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server-linux/trusted_auth_trouble_401.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-cn/trusted_auth_trouble_401.htm
source_site: help.tableau.com
content_type: documentation
content_hash: e94d097af2a530a2c1e703a7aa665f54990d30b8c6d95dd45224b8a1c14f9c68
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/v0.0/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/v0.0/server-linux/zh-cn/trusted_auth_webrequ.htm)。