# I can't upload photo after setting Cloudflare R2

**URL:** https://meta.discourse.org/t/i-cant-upload-photo-after-setting-cloudflare-r2/408303
**Category:** Self-hosting
**Tags:** uploads, s3, cloudflare
**Created:** [July 22, 2026, 11:09pm UTC](https://meta.discourse.org/t/i-cant-upload-photo-after-setting-cloudflare-r2/408303 "2026-07-22T23:09:40Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![haha](https://avatars.discourse-cdn.com/v4/letter/h/59ef9b/32.png) [@haha](https://meta.discourse.org/u/haha)
#### Post date: [July 23, 2026, 11:04am UTC](https://meta.discourse.org/t/i-cant-upload-photo-after-setting-cloudflare-r2/408303/5 "2026-07-23T11:04:56Z")

</div>

hi, my CORS policy is same as yours. After setting S3 region to N. Virginia, it works! Thanks for your advice!

I tried some regions except Virginia, all failed. Only Virginia works. This is a tricky point, as I found other document didn’t highlight this, they said “choose a nearest region is OK”. But experiment proves only Virginia is the right choice!

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/i-cant-upload-photo-after-setting-cloudflare-r2/408303)._
