Cloudflare DevelopersCD
Cloudflare Developers4mo ago
8 replies
Dovydas

Wrangler deploy throwing error 10013

Hi,

When deploying an app to a worker using Wrangler deploy or a new app through Cloudflare dashboard using a worker template, every build fails with the error code 10013 since yesterday. The full error message that gets returned during deploy:

Uploaded astro-blog-starter-template (14.03 sec)
    
✘ [ERROR] A request to the Cloudflare API (/accounts/<account_id>/workers/scripts/astro-blog-starter-template/subdomain) failed.
    
      An unknown error has occurred. If this error persists, please file a report in workers-sdk (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account team. [code: 10013]
      
      If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose


Whilst trying to narrow this down, I have discovered that I cannot enable or disable "Domains & Routes" in any of my worker settings. Trying to do so, a newtwork requeset to /subdomain endpoint fails and returns 500 status code with code 10013. The full API response:

{
  "result": null,
  "success": false,
  "errors": [
    {
      "code": 10013,
      "message": "An unknown error has occurred. If this error persists, please file a report in workers-sdk (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account team."
    }
  ],
  "messages": []
}
Was this page helpful?