Error deploying worker with ~40 routes, code 10013

For Workes & Pages, what is the name of the domain?

vanity.blue

What is the error number?

10013

What is the error message?

Total Upload: 1020.15 KiB / gzip: 153.57 KiB Worker Startup Time: 31 ms Your worker has access to the following bindings: - Durable Objects: - DURABLE: DomainDurableObject Uploaded api (8.81 sec) ✘ [ERROR] A request to the Cloudflare API (/accounts/49b27ecb745edb383bd005dea7408187/workers/scripts/api/routes) failed. workers.api.error.unknown [code: 10013] If you think this is a bug, please open an issue at: Sign in to GitHub · GitHub

What is the issue or error you’re encountering

Creating a worker with around 41 routes defined in wrangler.toml consistently fails when trying to deploy with the below. Removing a few routes eventually allows the deployment to go through. Looking at the limits docs it seems the limit for routes is 1,000 per zone - so I’m nowhere near that.

What are the steps to reproduce the issue?

Define around 40 routes (wild cards) in ‘routes’ of the wrangler toml.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.