Cloudflare · api · fg-0623

Creating a dispatch namespace fails with 400 code 100120 'Invalid dispatch namespace name'

If you see 400 error with code 100120, the cause and the fix for Cloudflare are below, last verified 2026-11-27.

Verified Nov 2026trust 50/100
Symptom
400 error with code 100120Invalid dispatch namespace name. Ensure it does not already exist and uses only lowercase letters, numbers, underscores and dashes (do not start with a dash).wrangler dispatch-namespace create returns error 100120terraform apply fails on cloudflare_workers_for_platforms_dispatch_namespace
Cause
New dispatch namespace names now follow Worker naming rules. Only lowercase letters, numbers, underscores and dashes are allowed, the name must start with a letter, number or underscore, and it must be 256 characters or fewer. Names with uppercase letters, slashes, percent signs or spaces were accepted before and are now rejected on create. Existing namespaces are unaffected.
Fix
Normalize the namespace name to lowercase with only letters, digits, underscores and dashes before calling the API, CLI or Terraform. Update any scripts that build names from tenant IDs or user input.
Apply
wrangler dispatch-namespace create my-tenant_namespace-01
Affected
Dispatch namespace creation via API, Wrangler and Terraform from 2026-11-25; existing namespaces keep working
Sources

Last verified 2026-11-27 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun