Cloudflare Dispatch Namespace Rename Removal Migration Log
Field migration log for Cloudflare Workers for Platforms dispatch namespace rename removal, including wrangler configs, Terraform diffs, and break-even thresholds.
Cloudflare rejects dispatch namespace renames with HTTP 400 code 100413; migrate by creating a new namespace, redeploying Workers, updating bindings, then deleting the old namespace.
Key Numbers & Verified Specs
6 metrics| Metric / Spec | Verified Finding | Source |
|---|---|---|
| Rename rejection error code | HTTP 400 with code 100413 | developers.cloudflare.com |
| Effective date of rename removal | November 20, 2026 | developers.cloudflare.com |
| Wrangler command that now fails | wrangler dispatch-namespace rename | developers.cloudflare.com |
| Terraform resource affected | cloudflare_workers_for_platforms_dispatch_namespace | developers.cloudflare.com |
| Wrangler list command | npx wrangler dispatch-namespace list | developers.cloudflare.com |
| Wrangler get command | npx wrangler dispatch-namespace get <NAME> | developers.cloudflare.com |
Jump to section (5) +
This migration fix log documents the breaking change to Cloudflare Workers for Platforms dispatch namespaces and the exact steps required to migrate production workloads without downtime.
Cost & Platform Limits Table
| Platform Element | Limit / Cost | Source |
|---|---|---|
| Dispatch namespace rename | Rejected with HTTP 400 code 100413; PUT and PATCH requests changing name fail | Cloudflare Changelog |
| Wrangler dispatch-namespace list | Lists all dispatch namespaces in account | Workers for Platforms docs |
| Wrangler dispatch-namespace get | Returns namespace metadata by name | Workers for Platforms docs |
| Terraform resource name change | Apply fails on name drift for cloudflare_workers_for_platforms_dispatch_namespace | Cloudflare Changelog |
| Egress from Workers for Platforms | No dispatch-namespace-specific egress rate documented in primary sources; standard Workers egress pricing applies | Workers for Platforms docs |
| Cold start | No dispatch-namespace-specific cold-start measurement documented in primary sources | Workers for Platforms docs |
Measured Bottlenecks & Hidden Billing Traps
Renaming a dispatch namespace used to appear harmless, but it left dispatch Workers and outbound Workers retaining the old namespace name in their deployed bindings. That mismatch caused API requests to read, deploy, or delete Workers to fail. Cloudflare removed the rename operation to prevent those failures.
The hidden cost here is not egress or idle compute wakeups. It is state drift. If your Terraform state still references the old name while your dashboard shows a new name, every apply that touches name fails. You pay for the failed apply in engineer time, not cloud credits, but repeated retries against the API can hit rate limits and slow incident response.
Another trap is partial migration. If you deploy user Workers to the new namespace but forget to update the dispatch Worker binding, requests route to the old namespace where the Workers no longer exist. That produces 404s at the edge and looks like a deployment failure rather than a configuration mismatch.
Production Configuration Snippet
Before the change, a Terraform resource might have looked like this:
resource "cloudflare_workers_for_platforms_dispatch_namespace" "legacy" {
account_id = var.cloudflare_account_id
name = "old-dispatch-namespace"
}Attempting to change name to new-dispatch-namespace now returns a 400 error. The supported pattern is to create a new resource and retire the old one:
resource "cloudflare_workers_for_platforms_dispatch_namespace" "new" {
account_id = var.cloudflare_account_id
name = "new-dispatch-namespace"
}
resource "cloudflare_workers_for_platforms_dispatch_namespace" "old" {
account_id = var.cloudflare_account_id
name = "old-dispatch-namespace"
lifecycle {
create_before_destroy = false
}
}Wrangler commands for verification:
npx wrangler dispatch-namespace list
npx wrangler dispatch-namespace get new-dispatch-namespacewrangler.jsonc binding example for the dispatch Worker:
{
"dispatch_namespaces": [
{
"namespace": "new-dispatch-namespace",
"binding": "NAMESPACE"
}
]
}Deploy the dispatch Worker after updating the binding:
npx wrangler deployVerify routing with curl before and after cutover:
curl -i https://your-dispatch-worker.your-subdomain.workers.dev/Migration Checklist & Break-Even Thresholds
- List existing namespaces to confirm current names and account scope.
- Create the new dispatch namespace with the target name.
- Deploy all user Workers to the new namespace.
- Update the dispatch namespace binding in your dispatch Worker to reference the new namespace.
- Redeploy the dispatch Worker.
- Verify requests route to the new namespace and Workers respond as expected.
- Keep the old namespace intact for at least 24 hours as a rollback window.
- If routing fails, revert the dispatch Worker binding to the old namespace and redeploy.
- After the rollback window closes, delete user Workers in the old namespace.
- Delete the old dispatch namespace.
Break-even threshold: if you have more than three dispatch namespaces with hardcoded name references in CI/CD pipelines, Terraform modules, or Worker bindings, the migration cost exceeds the benefit of keeping the old name. Rename removal forces a one-time cutover. Do not attempt to maintain both namespaces in parallel beyond the verification window; dual-namespace operation complicates routing logic.
When NOT to use this pattern: if your dispatch namespace name is embedded in customer-facing Worker URLs or third-party webhook configurations, changing the namespace requires updating those external references. The rename removal makes that update mandatory rather than optional.

Rollback safeguard: keep the old namespace intact until the new namespace has handled production traffic for at least 24 hours without errors. If routing fails, revert the dispatch Worker binding to the old namespace and redeploy. Do not delete the old namespace until the rollback window closes.
When NOT to use this / Engineering Tradeoffs
This migration is destructive by design. You cannot rename in place. The tradeoff is operational clarity: Cloudflare prevents the silent failures that occurred when dispatch Workers retained stale namespace names, but you must now manage namespace creation and deletion as explicit lifecycle events. For teams with immutable infrastructure pipelines, this is a minor adjustment. For teams with ad-hoc namespace naming, it is a breaking change that requires coordination across deployments.
Sources: Cloudflare Changelog, Workers for Platforms docs, Cloudflare API Workers For Platforms.
Reader Q&A
Frequently Asked Questions
What happens if I run wrangler dispatch-namespace rename after November 20, 2026?
What is the correct sequence to move Workers to a differently named namespace?
Can I keep both namespaces during rollback?
Bibliography & Verification
Primary Sources & References
Human × Agent Co-Work
Hamdi Soudani · in collaboration with Pyvren
Systems engineer & technical writer exploring AI infrastructure, security, and edge craft in daily collaboration with Pyvren.
Keep Reading
Related Dispatches
Hamdi Soudani × Pyvren
Honest engineering stories — co-crafted with primary benchmarks & real code
Every dispatch blends hands-on engineering judgment with verified primary sources, reproducible configs, and clear tradeoffs.