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

Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH

Been getting this for a day now. At first I thought its because traffic is 'rerouted' in my region as mentioned on cloudflarestatus, but its still not working. Any ideas? The builds have been deploying fine for days.

Path alias not working

(Edit: i wrote 6 messages since discord didn't allow me.) import path alias is not working with the cf pages im using vite with react tho interesting part is i can get succesfully build with or without cloudflares vite plugin here is the error: ``` 01:47:58.176 Executing user command: npm run build 01:47:58.640
01:47:58.640 > fluctur-dashboard@0.0.0 build...

NextAuth v5 req.auth Undefined with wrangler pages dev on Cloudflare Pages, Works with npm run dev

I'm using NextAuth v5 with Next.js 15 for authentication with JWT strategy. Everything works as expected when running the app locally using: npm run dev The req.auth object in my middleware is properly populated after login, and auth.user contains the expected user information. When I run the app using: wrangler pages dev...

Clear cache for *.pages.dev domain

We recently switched away from Next.js and it appears that Next.js generate html files for each page route and our new framework does not, this create a problem when the browser first visit the route(using the bookmark or direct link) it will serve the legacy Next.js built html file, instead of the SPA index.html which should be responsible for all routes. Given that we use the *.pages.dev domains for our development purpose, we need a way to purge the cache for the specific pages project. Appreciate your help....

unable to upload files

my acc id: ee789ff6bd417cee18d8e48f0ed90e54 https://chbl-training.pages.dev/ Hi, I previously posted in a different help thread and found this one is more better for my case. I was wondering why i couldn’t upload any files for when I wanted to deploy another page. I was able to successfully upload my files for the first page deployment but this time, i could not upload the files and if i did upload it, the deployment would not be complete. it would give the message that my website does not exist....
No description

Build cache not working in Astro static projects

We have a some projects in CF Pages using the same Astro static generation project. Even the "Build cache" is enable in every project, the build logs says its not beeing used: ``` 2025-06-26T15:22:55.845054Z Using v2 root directory strategy 2025-06-26T15:22:55.87282Z Success: Finished cloning repository files...

Pages routes that not exists anymore are being served

This routes are acessible even with 200 curl response: https://mixvbs.com/ar-tc-cencosudtc-p1/ https://mixvbs.com/us-cc-citirewardscc-p1/ But they doesnt exists anymore. The project is generated with static files by Astro to Cloudflare Pages....

billing

I noticed there is an unpaid order showing in my Cloudflare dashboard, but I cannot find any way to pay it. I have checked the Billing → Orders section, but there is no “Pay” button or link. Please let me know: 1. What this unpaid order is for 2. How I can pay it or cancel it if it is not valid...

Infinite Redirect Loop from Worker to Page.

A day of debugging with AI so far.

Question about amount of Pages concurrent builds

We had Pro plan with 5 concurrent builds. still, it was not enough and we changed it to Business plan with 20 concurrent builds. We changed plan for almost two weeks ago and still we have only 5 concurrent builds, can someone explain why?...

Cloudflare Analytics script cannot be removed

I have disabled the analytics entirely. Yet the script is automatically injected by Cloudflare still. How do I get rid of it? Redeployment does not help. It is not part of the index.html either....

S3 Api SignatureDoesNotMatch

Writing a script that needs to upload some files to an R2 bucket at build time (so really this is just running as normal nodejs). Trying to use the S3 API. Code is really simple, basically straight from the examples: ```typescript...

astro ssr (on demand) with supabase tries requiring `ws` module and errors

I can't find any examples of setting up supabase with ssr for astro + pages. Getting this error: ``` (error) 15:18:06 [ERROR] ReferenceError: require is not defined...

Astro app can call Mailgun api on local server, but not on CF Pages deployment?

I have an Astro project that calls the Mailgun sending api to email me the data from form submissions (env variables accessed through the "astro:env" api), and it works completely fine while running on my local dev server, but after deployment to CF Pages ("salvean.pages.dev" or just "salvean.com"), I catch an "Error: Bad Request" with form submissions calling the Mailgun api. I have also verified that my site is able to access my secret env variables on CF Pages. My DNS records for sending via...

Update my files

Hi everyone! I previously deployed my site to Cloudflare Pages using manual upload. Now I want to update my website by replacing the old files with a new version. I need a guide on how to to upload the new files without deleting the entire project or re-adding my custom domain? I just want to replace the old zip file with the new one Thanks in advance for your help!...

cloudflare wont verify me as human

I've been stuck on thins page for 3 days and don't know why it wont verify me I've tried all of what google told me and it still wont work pls give me some suggestions ❤️
No description

Migrating Pages as-is to WOrkers breaks private Git submodules

As described, the project is using private GitHub repo git@github.com:Vulnetix/vulnetix.git That repo has a gitmodules file [submodule "api"]...

Wrangler-action@v3 still not auto detecting pages deployments

This results in
It looks like you've run a Workers-specific command in a Pages project.
It looks like you've run a Workers-specific command in a Pages project.
... Can't seem to find a way around this.

Does Pro make Pages builds faster?

We're struggling with the pages build speeds (for both preview and production builds) and debating whether to upgrade. Would only make sense for us if the "Queued" times are drastically reduced - is this the case with the paid plan?