Kian
Kian
[Related community post](https://community.cloudflare.com/t/bug-direct-uploads-failed-to-parse-redirects-and-headers-files/390733?u=kiannh)
Also raised https://github.com/cloudflare/workers-types/pull/275 for the new `corporateProxy` property.
The types in the `overrides` directory are partial, and merged into `index.d.ts` when a release is made. https://github.com/cloudflare/workers-types#auto-generation
Your onlyIf conditional will return the object without a body if the conditional fails - does this still happen if you remove that?
I might have misinterpreted your issue - I was thinking of runtime errors (i.e `request.body is undefined`) as opposed to TypeScript having issues when type checking. If you're *not* using...
Created https://github.com/cloudflare/cloudflare-docs/pull/5482 to address the previous comment, referencing https://github.com/cloudflare/wrangler2/issues/972#issuecomment-1125359729
A WIP concept: https://kian-wrangler-configuration.cloudflare-docs-github.pages.dev/workers/wrangler/configuration/
Conditionals on PutObject is a non-standard extension that only landed in the S3 API ~1 week ago - it's on the backlog to make it's way into the Workers bindings.
 R2 is currently not happy with `oauth_token` :(
Closes https://github.com/cloudflare/wrangler2/issues/1654