Worker custom domain routes

I'm having trouble setting my route via wrangler.toml
[env.development]
route = { pattern = "https://development-api.example.com/trpc-auth*", zone_name = "example.com", custom_domain = true }

I get this error
Cannot use "https://development-api.example.com/trpc-auth*" as a Custom Domain; wildcard operators (*) are not allowed

But then when I go set the route in the console. I can set it and it works as expected. But this is very tedious to do for all my workers. Is my configuration wrong?
Was this page helpful?