What versions & operating system are you using?
wrangler 4.80.0, bun 1.3.11, macOS Tahoe 26.4 (25E246)
Please provide a link to a minimal reproduction
not applicable
Describe the Bug
When deploying using bunx wrangler deploy I get an error indicating an unexpected HTML response from the cloudflare API.
I monkey patched Wrangler to see the full HTML page, and noticed the following:
✘ [ERROR] Received a malformed response from the API
...
<h1 data-translate="block_headline">Sorry, you have been blocked</h1>
<h2 class="cf-subheadline"><span data-translate="unable_to_access">You are unable to
access</span> api.cloudflare.com</h2>
I.e. the Cloudflare WAF on api.cloudflare.com is blocking my request.
This is a false positive, I am a normal user, not doing any kind of security research and simply trying to deploy my worker.
Cloudflare Ray ID: 9e8116df4823e2c5
Please provide any relevant error logs
bunx wrangler deploy --env production
⛅️ wrangler 4.80.0
───────────────────
▲ [WARNING] You are about to publish a Workers Service that was last updated via the script API.
Edits that have been made via the script API will be overridden by your local code and config.
✔ Would you like to continue? … yes
🌀 Building list of assets...
✨ Read 14 files from the assets directory [redacted]
🌀 Starting asset upload...
No updated asset files to upload. Proceeding with deployment...
Total Upload: 4.64 KiB / gzip: 1.87 KiB
Your Worker has access to the following bindings:
Binding Resource
[redacted]
✘ [ERROR] Received a malformed response from the API
[redacted]
...
POST /accounts/[redacted]/workers/scripts/[redacted]/versions ->
403 Forbidden
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
What versions & operating system are you using?
wrangler 4.80.0, bun 1.3.11, macOS Tahoe 26.4 (25E246)
Please provide a link to a minimal reproduction
not applicable
Describe the Bug
When deploying using
bunx wrangler deployI get an error indicating an unexpected HTML response from the cloudflare API.I monkey patched Wrangler to see the full HTML page, and noticed the following:
I.e. the Cloudflare WAF on
api.cloudflare.comis blocking my request.This is a false positive, I am a normal user, not doing any kind of security research and simply trying to deploy my worker.
Cloudflare Ray ID: 9e8116df4823e2c5
Please provide any relevant error logs