Skip to content
Playground(another site)

bynk.deploy.group_name_conflict

Error A [deploy.workers.<key>] group's key or script name is another group's, or is the Worker of a context in no group.

Each Worker on Cloudflare is one script with one name. A group's Worker is named by its name, or by its key when it has none, and a context in no group is a Worker of its own, named after the context with each . as - (shop.billing is shop-billing). Two Workers with one name would overwrite each other on deploy. So a group's key or name may not be another group's Worker name, nor the Worker of a context in no group. Choose another key or name, or put that context in the group.

Example

[deploy.workers.core]
contexts = ["shop.orders"]
[deploy.workers.edge]
contexts = ["shop.billing"]
name = "core" // ✗ `core` is already a Worker's name
name = "shop-edge" // ✓

In the Book

See also

  • Every code in its category, Deployment, on the diagnostic index.
  • bynk explain bynk.deploy.group_name_conflict shows the same from the installed toolchain, without a network.