--- title: 502 Bad Gateway slug: Web/HTTP/Status/502 tags: - Bad Gateway - HTTP - Status code translation_of: Web/HTTP/Status/502 ---
{{HTTPSidebar}}

502 Bad Gateway 錯誤表明伺服器以閘道器或代理訪問時,收到了來自上游服務器的無效回應。

注意:{{interwiki("wikipedia", "閘道器" )}}可能位於網路上的不同地方。502 錯誤通常也不是開發者可以修復的,他通常需要在要訪問的的伺服器或代理修復之。

狀態

502 Bad Gateway

規範

規範 標題
{{RFC("7231", "502 Bad Gateway" , "6.6.3")}} Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

瀏覽器相容性

The information shown below has been pulled from MDN's GitHub (https://github.com/mdn/browser-compat-data).

{{Compat("http.status.502")}}

See also