R2 custom 404


Is is, or will it be, possible to set a custom 404 for a public R2 bucket? I’m thinking similar to what GCP has with their notFoundPage param on buckets.


Paid plans can use the custom error pages API to show your own page.

Free users will have to use a Worker in-front (not recommended) or wait for PutBucketWebsite to land.


Thank you for the reply. I had missed the Custom error responses thing. It looks like that will work great for my purposes.
Have a great day.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.