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
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": []
}
{
"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": []
}
7 Replies
Walshy
Walshy3mo ago
Hey @Dovydas can you link your account so we can take a look ?link
SuperHelpflare
SuperHelpflare3mo ago
Please use the /link command to authenticate with your Cloudflare account and link it to your Discord user. This helps Cloudflare employees access your details more quickly and provide support. It also makes future support requests easier, since your account will already be linked.
Dovydas
DovydasOP3mo ago
Hi @Walshy | DevPlat EE . I have linked my account using the /link command. Thank you!
Walshy
Walshy3mo ago
Thanks, gonna raise an escalation with the team
Dovydas
DovydasOP3mo ago
Hi, I think the issue is resolved as I can once again deploy the apps successfully and enable or disable domains. Thanks!
skben
skben3mo ago
Hi, I am the same issue when I try to deploy or deleting worker through api. The issue occurs also when I use cli commands.
Walshy
Walshy3mo ago
please make a new thread, internal errors are generic externally but can mean a thousand things internally

Did you find this page helpful?