Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

D1 batch queries against API limits

Hi all - do D1 batch queries count as a single api request against the limit, or the number of statements in the batch?

Wrangler deploy throwing error 10013

Can no longer wrangler deploy my worker either locally or via github actions. Getting the error
✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/scripts/embed-worker-production/deployments) failed.
packages/embed-worker deploy-worker: 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]
✘ [ERROR] A request to the Cloudflare API (/accounts/***/workers/scripts/embed-worker-production/deployments) failed.
packages/embed-worker deploy-worker: 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]
...

browser rendering api pricing

Hi all, That's my first post here then i hope i'm posting it in the right place. Nice to meet you all, I'm Ivan and I'd like to ask your support for a query in regards to using browser rendering Api with Workers on paid plan. I read that "No charge or limit for duration" is specified in the pricing plan but i want to be sure that this free limit is also valid for the wall time and GB-Sec. Having an app that needs at least 10-15 gb-sec per run (mostly because of wall time, not that much cpu-time ) this is very important to know. ...

sh: cloudflare: command not found

Following the NextJS framework guide for workers. Installed "@opennextjs/cloudflare": "^0.6.0" Added these scripts to my package.json:...

mTLS Binding with Cloudflare Access

The docs mention mTLS bindings are incompatible with services proxied by Cloudflare. Does this apply to Cloudflare Access mTLS policy on a zone in the same account? Worker -> (via mTLS fetch) -> Cloudflare Access mTLS Rule -> Cloudflare Tunnel (no mTLS needed) -> Local resource...

CF worker: KV puts slow -- 400ms

So I have a CF worker that's supposed to filter requests based on their properties and track some state across requests. At the end of the request I want to update the linked state. ``` async updateState() { return this.getState().then((state) => this.env("KV_NAMESPACE").put(this.getCacheKey(), JSON.stringify(state), { expirationTtl: TOKEN_TTL_SEC }));...

Workers Browser + Proxy

Is it possible to have the browser instance of cloudflare to run with proxy ?

We cannot build any workers anymore. We get the error Failed: The build token selected for this buil

Suddenly we cannot build workers anymore. We get the error: 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. We have followed the instructions here: https://developers.cloudflare.com/workers/ci-cd/builds/troubleshoot/#stale-api-token and generated new API keys many times already and it still won't work. This just started happening this morning. Never had...

Cannot deploy Worker Assets

It's a sveltekit project, used the official docs, but no dice. all works locally
No description

connection

Hello everyone, I deployed a service through workers. However, the deployed address can access its published interface through the browser, but it will time out when requested through a program or API call tool. What may be the cause of this?...

wrangler dev --remote Cause issue of Script Not Found

I am trying to connect my local with remote worker, it connects and start the server on some port but when i try to hit the api ia m getting error like below. Please enable cookies. Error 1104 Ray ID: 9265b11e1cbdb486 • 2025-03-26 09:41:22 UTC Script not found...

Tailwind CSS v4 Module Resolution Error in Next.js/Cloudflare Deployment

As soon as I upgraded Tailwind CSS from v3 -> v4, I encountered a critical build error. The deployment process completely fails when trying to import Tailwind, i'm importing my repository directly from github my package.json: ```json...
No description

Email trigger configuration in wrangler.jsonc

Can I set up email triggers in wrangler.jsonc? Can't seem to find docs on it

R2 Bucket Stuck in Creating and Unable to Delete

I created an R2 bucket, but it was stuck in processing for a very long time. When I checked the overview page, I saw the bucket's name listed there, but when I clicked on it, I received the error message "The specified bucket does not exist." This is very confusing. I’ve been waiting for a long time, and I’m unable to delete the bucket either.

Workers Static Assets Site - Git LFS Checkout Failure

Hey all. I have a static Astro site deployed onto Workers Assets currently, which works fine - but the Build CI/CD integration is failing with Failed: error occurred while checking out repository. The repo contains a cdn folder that has git-lfs assets, which I deploy separately to an R2 bucket - is it a known issue that Workers Assets doesn't support git-lfs during checkouts, or did I run into some other issue? Checked the Github Ap...

Saving token between builds

Is it possible to save a token defined in Variables & Secrets under worker settings, such that it will be saved and persistent between builds ?
No description

Support for custom TLS credentials?

We are looking to build product on top of Cloudflare Workers. One of our requirements is the ability to pass in a custom TLS cert. It looks like according to the announcement that support is coming soon. Do we know approximately where in the roadmap this is? We need this in order to be able to connect to Postgres instances via SSL over TCP. And we can't use Hyperdrive for this scenario....

Setting up GitHub Organization-level worker code repo access for Workers - Not working

I think the problem is that the GitHub repo where my worker's code is part of a GitHub Org, I am fully authorized in this Org but I am not the owner. I am getting an error when trying to connect it. Not much detail in the error Is there a step on GitHub side where Org Admin can authorize Cloudflare Worker integration once and for all?...
No description

Type conflict in Astro SSR deployed App w/ Wrangler Types

I am trying to run an Astro SSR app w/ the Cloudflare adapter. When generating the wrangler types we get various global type def conflicts for our client side scripts. For example trying to call append on an HTMLElement. As per MDN, Element's append method "can append several nodes and strings, whereas Node.appendChild() can only append one node." When creating a custom element by extending HTMLElement in the client side script the TS compilation references the workers type definition of the HTMLElement which seems to mimic the Node append method. Am i missing something or is there a workaround?...