workers.api.errors.tail_worker_not_found

When I attempt to PUT /accounts/$ACCOUNT_ID/workers/scripts/$SCRIPT_NAME , I observe the following error:
{"result":null,"success":false,"errors":[{"code":10203,"message":"workers.api.error.tail_worker_not_found"}],"messages":[]} at workers.api.error.tail_worker_not_found (cloudflare:10203) at ...
{"result":null,"success":false,"errors":[{"code":10203,"message":"workers.api.error.tail_worker_not_found"}],"messages":[]} at workers.api.error.tail_worker_not_found (cloudflare:10203) at ...
I searched for variations of this string and code and I cannot find any documentation on this error online. Does anyone know what's going wrong?
4 Replies
Walshy
Walshy4mo ago
sounds like you have a tail consumer attached which doesn't exist are you trying to add a tail consumer?
Tristan Slominski
Tristan SlominskiOP4mo ago
Thank you. It does look like I am trying to upload a script with tail_consumers configured. Since I don't see any workers in my account, I assume that I need to setup these tail_consumers first before telling other scripts to use them.
Walshy
Walshy4mo ago
correct yeha
Tristan Slominski
Tristan SlominskiOP4mo ago
Confirming that setting up those tail consumers before trying to use them resolved the problem. Thank you again.
Want results from more Discord servers?
Add your server