Amazon CloudFront
Developer Guide (API Version 2016-09-29)

Troubleshooting CloudFront Response Errors

When CloudFront requests an object from your Amazon S3 bucket or custom origin server, your origin sometimes returns an HTTP 4xx or 5xx status code to users, which indicates that an error has occurred. The HTTP protocol uses response headers to specify an HTTP status code. The following sections describe common causes for error messages and possible solutions.