Upload to R2 broke Access rules?

What is the name of the domain?

example.com

What is the error number?

HTTP ERROR 404

What is the error message?

This example.com page can’t be found No webpage was found for the web address: https://example.com/cdn-cgi/access/authorized/?

What is the issue you’re encountering

Former working config is broken after overwriting files to R2

What steps have you taken to resolve the issue?

I tried to clear cache, delete and upload the files again, delete and upload another simple index.html, removed any remnants of the original CF Page (including Application rule), run a trace without finding any error or useful info, checked the logs of Access (shows that I have been granted access). Also tried to create a new Application but unfortunately that didn’t solve the problem.

Found this related:

And this related:

But I’m using R2, not Pages (anymore).

If I remove the Application for /dev I can access example.com/dev but so can everyone else, so that is not good.

Any suggestions?

What are the steps to reproduce the issue?

note: I’m new to CF & hosting.

bground: Added one index.html website to Pages originally, also added a dev/index.html & configured Applications for both, everything worked fine. Then I changed to R2 as my next upload was too big for Pages (=no longer only an index.html). Still managed to make it work, the basic example.com was reachable to everyone, the fancy new example.com/dev just with an access code for me, all good.

error: A few days later via the dashboard I uploaded a new version of the site to R2 example.com/dev (uploading dev folder basically overwriting existing files), and that broke the access, giving the aforementioned 404 error.