Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

To confirm, what does your `wrangler.

To confirm, what does your wrangler.toml look like?

I'm not a Cloudflare employee but the

I'm not a Cloudflare employee but the language they use in the tos blog is pretty clear:
These services are explicitly designed to allow customers to serve non-HTML content like video, images, and other large files hosted directly by Cloudflare.
It's not hosted directly in this case. Will they take action on you for you? Eh, espec if you're not using a lot of bandwidth, the terms are more focused on big abusers and such. I would ask this though: Why not have your custom app return a presigned url if you're trying to do access enforcement? The way you described would entirely depend on your app's bandwidth/connection/make it a bottleneck for all requests...

Then no. Caching isn't available on the

Then no. Caching isn't available on the S3 API

Hello, everyone I have R2 bucket inside

Hello, everyone I have R2 bucket inside and i have two directories, i want to upload an image into the profile-pictures directory in the R2 bucket I tried this but it only uploading into the main bucket, not inside the "profile-pictures" directory let key = "profile-pictures/profilepic" + await generateToken(5) await c.env.BC.put(key, payload.file);...

still getting `403 Forbidden` even after

still getting 403 Forbidden even after re-recreating API keys and not getting cors errors anymore, really not sure what's going on 😵‍💫

anyone succeeded in acquiring temporary

anyone succeeded in acquiring temporary access credentials?

POST Policy - Amazon Simple Storage Serv...

AWS S3 seems to have a feature called POST Policy (see: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html#sigv4-ConditionMatching) which can be used when making signed urls for file uploads. R2's documentation does not really affirm or deny compatibility with this feature. Does anyone know if R2 supports the feature described in the link above? Such a feature would allow CF R2 to independently run pre-specified assertions on the request as part of the upload tran...

thats happen

thats happen
No description

I get the following error on the S3

I get the following error on the S3 endpoint and cannot connect ``` $ /usr/bin/curl -v https://0a6a3d9311dd2981c9a598ee47b70fea.r2.cloudflarestorage.com/test * Host 0a6a3d9311dd2981c9a598ee47b70fea.r2.cloudflarestorage.com:443 was resolved. * IPv6: 2606:4700::6812:85a, 2606:4700::6812:95a...

Is anyone using `"@aws-sdk/client-s3"` ?

Is anyone using "@aws-sdk/client-s3" ? I currently do: ```js...

Hey guys I'm `PUT`ing into my R2 bucket

Hey guys I'm PUTing into my R2 bucket with some customMetadata -- I can see that the PUT command does return the metaData. But when I refresh the data using LIST -- the returned objects do not contain the customMetadata. I confirmed in R2 dashboard that the object does have the customMetadata. Looks like the LIST method does not retrieve the metadata? I am referencing R2Object.customMetadata. See screenshots of api response to my worker functions...
No description

anyone from cf could help with the r2

anyone from cf could help with the r2 issue? it seemed we cannot post to support for r2 issue, while it suggests to post here ......

Hello, this is Vijay from Invent Educare

Hello, this is Vijay from Invent Educare, We are using cloudflare R2 storgae and upload files via S3 api / CLI - from 14th of June the upload from application seems not working perfectly.. some time it is uploading, sometimes not, sometimes takes an hour to upload a file, we have .Net application from where we are uploading file... is there any issue going on with the upload functionality..? we are stuck - we are fully dependent on cloudflare,... and our client's are not able to upload files since last 4 days.. 😦...

getting 500 internal server error when uploading to R2 using presigned URL

Hello, I am getting 500 internal server error when uploading to R2 using presigned URL. Can someone help...

Even i reported this but cloudflare

Even i reported this but cloudflare ignored it by saying it's my ISP or server issue -__-

Hi guys,

Hi guys, when I want to create a bucket, it display that there was a problem creating your bucket, please try again later. I want to konw how to solve it....
No description

Hi guys,

Hi guys, Our buckets in cloudflare R2 APAC region are experiencing very degraded performance, Uploads and Dowloads or super slow or sometimes return internal server error. Its been almost 16 hours and there seems to be no improvement, EEUR are working normal....

Yes, minimum set to TLS 1.2. This

Yes, minimum set to TLS 1.2. This setting doesn't appear to apply to r2 buckets with custom domains.

anyone have a code snippet to upload

anyone have a code snippet to upload from react-native using axios, fetch, or whatever, to a pre-signed R2 url? I have tried everything and every single time the file is invalid

Invite Team members to Manage R2

Hello, I have an account (Primary account holder) and I'm trying to add someone from my team to access R2. It seems I can only add someone to a "domain" but not to a service, such as R2, under my Cloudflare account. When they try to access R2 from the dashboard, they see this:
No description