HTTP 500 status code (Internal Server Error)
An HTTP 500 status code (Internal Server Error) indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. The following are some common causes of 500 errors in Amazon CloudFront.
Origin server returns 500 error to CloudFront
Your origin server might be returning a 500 error to CloudFront. Refer to the following troubleshooting topics for more information:
If Amazon S3 returns a 500 error, see How do I troubleshoot a HTTP 500 or 503 error from Amazon S3?
If API Gateway returns a 500 error, see How do I troubleshoot 5xx errors for API Gateway REST API?
. If Elastic Load Balancing returns a 500 error, see HTTP 500: Internal server error in the User Guide for Application Load Balancers.
If the preceding list doesn't resolve the 500 error, the issue might be with a CloudFront Point of Presence returning an internal server error. You can contact AWS Support