AllenC
AllenC

Reputation: 2754

Cloudfront 405 error not displaying custom error page

I created custom error page on Cloudfront with HTTP error code 404 and 405. I pointed the response page path to private/index.html hosted in s3 bucket.

custom error pages

I managed to display a custom error page for 404

405 Error

but when I try hitting the Cloudfront domain using TRACE method in Postman I'm getting 405 but the custom response page path is not showing. It's still showing the default 405 error by Cloudfront.

Upvotes: 0

Views: 302

Answers (1)

SwathiP
SwathiP

Reputation: 415

CloudFront does not support TRACE method. Please see this and this in AWS documentation.

Upvotes: 0

Related Questions