---
schema_version: "1"
id: bd3c1771bad462885b87ee8b1f93bd1ba526b1f8417ada29d2ab4912a73eda04
title: HTTP 401 – 未授權
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server-linux/trusted_auth_trouble_401.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-tw/trusted_auth_trouble_401.htm
source_site: help.tableau.com
content_type: documentation
content_hash: d7784b29619fc2b28aa2b7d0c5b77e327bcd7f5d15fc805f49bc0a2bb49de702
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-tw/cli_authentication_tsm.htm#TSMSspi)。
    
    **附註：**只能在 Windows 版 Tableau Server 上設定 SSPI。
- 或在部署 Tableau Server 後收到 **302 - 重新導向錯誤**，則您編寫用以建構用戶端 URL 的受信任票證程式碼可能未針對兩部分票證 URL 格式的帳戶進行更新。有關詳細資訊，請參閱[從 Tableau Server 獲取票證](https://help.tableau.com/v0.0/server-linux/zh-tw/trusted_auth_webrequ.htm)。