Failed to read wrangler.toml file

Failed: unable to read wrangler.toml file with code: 1
Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
Failed: unable to read wrangler.toml file with code: 1
Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
wrangler.toml in question:
name = "celeste-endless"
pages_build_output_dir = "./.svelte-kit/cloudflare"

routes = [{ pattern = "celeste-endless.ottomated.net", custom_domain = true }]
name = "celeste-endless"
pages_build_output_dir = "./.svelte-kit/cloudflare"

routes = [{ pattern = "celeste-endless.ottomated.net", custom_domain = true }]
pages.dev: celeste-random-golden.pages.dev Deployment ID: a2a40c1d-7abf-4f48-9930-3ff8396a71d2 Account ID: 54392aaba81d753fd12c3b659b790ed4
1 Reply
Kiki Y
Kiki Y8mo ago
Hi there, this is Kiki from Cloudflare. Thank you for your escalation. We can see in logs, the error is Configuration file for Pages projects does not support "routes". Please double check your Configuration file. Thank you!
Want results from more Discord servers?
Add your server