Can't upload to S3 (Cloudflare R2)

are you certain the cloudflare R2 token has read/write permission and did you correctly configure the CORS policy? i know you have a bit of a unique server configuration, and the cloudflare bucket permissions and configuration need to be exactly correct or it will throw permissions errors.