There’s caching of the API creds for 60s iirc so it might be a little faster
There’s caching of the API creds for 60s iirc so it might be a little faster
range requests3.deleteObject(), if object exists in R2 Bucket, it will indeed delete file, but there is no valid output from this operation, for example, AWS documentation says to look for deleteMarker in response, but it seems Cloudflare R2 doesn't provide any deleteMarker property, it's always undefined. Matter of fact, response object is itself empty, i.e. {}.response.$response. Guess what, it's always 204 No Content!
https://dash.cloudflare.com/randomString/r2/new/new or similar. remove it, it should take you to overview page. where you can view your bucket

response: {
status: 429,
statusText: 'Too Many Requests',
}Error: Too many subrequests
ranges3.deleteObject()response.$responsehttps://dash.cloudflare.com/randomString/r2/new/newresponse: {
status: 429,
statusText: 'Too Many Requests',
}Error: Too many subrequests