Cloudflare DevelopersCD
Cloudflare Developers8mo ago
5 replies
Moes

A request to the cloudflare api failed

When running wrangler deploy after vite build, getting the following error:
[ERROR] A request to the Cloudflare API (/accounts/1b4084a019e362dcc38aaf959044234e/workers/scripts/fluent-bi-website/versions) failed.

An unknown error has occurred. If this error persists, please file a report in the workers-sdk
GitHub repository (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account
team. [code: 10002]

If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose

note that I've tried:
- reverting to prior commit
- updating packages/modules
-removing .wrangler and node_modules and reinstalling/building
deploying under a new worker name
- changing compat date
- logging out and back in with wrangler logout/login
- deploying other workers using bun run deploy works fine, only this one

it only started happening randomly yesterday on only this worker

also created a community post: https://community.cloudflare.com/t/a-request-to-the-cloudflare-api-failed/809429
but maybe someone here also knows

thanks!
Was this page helpful?