Cloudflare Workers Failing To Start

Hello,

I have been using Cloudflare Workers for a while and they have been working great. But recently i have been getting this error when trying to start the service.

time=“2024-09-08T20:56:16-04:00” level=info msg=“Using API key auth”
time=“2024-09-08T20:56:16-04:00” level=info msg=“config is valid”
time=“2024-09-08T20:56:16-04:00” level=info msg=“Using API key auth”
time=“2024-09-08T20:56:16-04:00” level=info msg=“Cleaning up existing workers” a
ccount=redacted
time=“2024-09-08T20:56:18-04:00” level=fatal msg=“unable to cleanup existing wor
kers: This Worker does not exist on your account. (10007) for account redacted”

It seems like its trying to clean up the worker that it wants to create but the worker is not even there to begin with? Any help would be greatly appreciated!

I am having the same problem and have opened a GitHub issue

Hey :wave: We got contacted by the Cloudflare Worker Team, they seem to have fixed an error response when trying to delete a script that didnt exists (which makes sense), unfortunately this trigger an error in logic on our side which expected a non error response so we are working on a fix.

If you already have the remediation running this will not impact you till you restart it, we are tracking any fixes by this issue

Apologies for any inconvenience, and we expect a fix to be release within the next couple of hours as we need to test and ensure stability.

@iiAmLoz I just applied the update and things seem to be working again. Thank you for the prompt response!