In order to implement a proper activestorage adapter, some 404 errors should be rescued https://github.com/rails/rails/blob/20f6edf931c83e4f68b691c4861ef47a3774f409/activestorage/lib/active_storage/service/s3_service.rb#L57