Configuring a custom error document in S3


When an error occurs (ex-presignedUrl is expired), Amazon S3 returns an error document with XML tags as shown below Enter image description here. How to configure my bucket with a custom error document so that Amazon S3 returns that document when access to the S3 object expires?

asked 12 days ago96 views
2 Answers
  • I think this document is for a static website. But in my case, I am using S3 for storing pdf files.


Afraid this is not possible

profile picture
answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions