Worker builds fail with "The build token selected for this build has been deleted"

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

traveltrove.shy-river-d4b9.workers.dev

What is the error message?

Failed: The build token selected for this build has been deleted or rolled and cannot be used for this build. Please update your build token in the Worker Builds settings and retry the build.

What is the issue or error you’re encountering

Worker builds have started to fail suddenly. I had a single successful build this morning then all others started to fail with the error. No changes have been made to any settings in Cloudflare.

What steps have you taken to resolve the issue?

  • I tried creating a new token via the Worker Settings - Build - API Token and running with that. Same error.
  • I tried creating a new token manually via Profile - API Tokens with the correct policies. Update the build. Same error.
  • I tried deleting all tokens in Profile - API Tokens first, then generating a new token via Worker Settings - Build - API Token. Same error.

What are the steps to reproduce the issue?

Running a Worker build.

It seems that this has resolved on its own. The builds are now working normally.
I’m assuming it might have been connected to the Cloudflare API issue that was being investigated.

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