

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# HTTP 500 狀態碼 (內部伺服器錯誤)
<a name="http-500-internal-server-error"></a>

HTTP 500 狀態碼 (內部伺服器錯誤) 表示伺服器遇到無法滿足請求的非預期條件。以下是 Amazon CloudFront 中 500 錯誤的常見原因。

**Topics**
+ [原始伺服器傳回 500 錯誤至 CloudFront](#origin-server-500-error)

## 原始伺服器傳回 500 錯誤至 CloudFront
<a name="origin-server-500-error"></a>

您的原始伺服器可能會傳回 500 錯誤至 CloudFront。如需詳細資訊，請參閱下列疑難排解主題：
+ **如果 Amazon S3 傳回 500 錯誤**，請參閱[如何對 Amazon S3 的 HTTP 500 或 503 錯誤進行疑難排解？](https://repost.aws/knowledge-center/http-5xx-errors-s3)
+ **如果 API Gateway 傳回 500 錯誤**，請參閱「[如何對 API Gateway REST API 的 5xx 錯誤進行疑難排解？](https://repost.aws/knowledge-center/api-gateway-5xx-error)」。
+ **如果 Elastic Load Balancing 傳回 500 錯誤**，請參閱《*Application Load Balancer 使用者指南*》中的 [HTTP 500：內部伺服器錯誤](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-troubleshooting.html#http-500-issues)。

如果上述清單無法解決 500 錯誤，問題可能是 CloudFront 連接點傳回內部伺服器錯誤。您可以聯絡 [支援](https://console.aws.amazon.com/support/home#/) 尋求協助。