Cloudflare Docs
Edit this page
Report an issue with this page
Log into the Cloudflare dashboard
Set theme to dark (⇧+D)

Known issues

Here are some known bugs and issues with Cloudflare Pages:

​​ Builds and deployment

  • GitHub and GitLab are currently the only supported platforms for automatic CI/CD builds. Direct Upload allows you to integrate your own build platform or upload from your local computer.

  • Incremental builds are currently not supported in Cloudflare Pages.

  • Uploading a /functions directory through the dashboard’s Direct Upload option does not work (refer to Using Functions in Direct Upload).

  • Commits/PRs from forked repositories will not create a preview. Support for this will come in the future.

​​ Git configuration

  • After you have selected a GitHub/GitLab repository for your Pages application, it cannot be changed. Delete your Pages project and create a new one pointing at a different repository if you need to update it.

​​ Build configuration

  • * subdomains currently cannot be changed. If you need to change your * subdomain, delete your project and create a new one.

  • Hugo builds automatically run an old version. To run the latest version of Hugo (for example, 0.101.0), you will need to set an environment variable. Set HUGO_VERSION to 0.101.0 or the Hugo version of your choice.

  • By default, Cloudflare uses Node 12.18.0 in the Pages build environment. If you need to use a newer Node version, refer to the Build configuration page for configuration options.

  • For users migrating from Netlify, Cloudflare does not support Netlify’s Forms feature. Pages Functions are available as an equivalent to Netlify’s Serverless Functions.

​​ Custom Domains

  • It is currently not possible to add a custom domain with

    • a wildcard, for example, *
    • a Worker already routed on that domain.
  • It is currently not possible to add a custom domain with a Cloudflare Access policy already enabled on that domain.

  • Cloudflare’s Load Balancer does not work with * projects; an Error 1000: DNS points to prohibited IP will appear.

  • When adding a custom domain, the domain will not verify if Cloudflare cannot validate a request for an SSL certificate on that hostname. In order for the SSL to validate, ensure Cloudflare Access or a Cloudflare Worker is allowing requests to the validation path: http://{domain_name}/.well-known/acme-challenge/*.

  • Advanced Certificates cannot be used with Cloudflare Pages due to Cloudflare for SaaS’s certificate prioritization.

​​ Pages Functions

  • Functions does not currently support adding/removing polyfills, so your bundler (for example, webpack) may not run.

  • passThroughOnException() is not currently available for Advanced Mode Pages Functions (Pages Functions which use an _worker.js file).

  • passThroughOnException() is not currently as resilient as it is in Workers. We currently wrap Pages Functions code in a try/catch block and fallback to calling env.ASSETS.fetch(). This means that any critical failures (such as exceeding CPU time or exceeding memory) may still throw an error.

​​ Enable Access on your * domain

If you would like to enable Cloudflare Access] for your preview deployments and your * domain, you must:

  1. Log in to Cloudflare dashboard.
  2. From Account Home, select Workers & Pages.
  3. In Overview, select your Pages project.
  4. Go to Settings > Enable access policy.
  5. Select Edit on the Access policy created for your preview deployments.
  6. In Edit, go to Overview.
  7. In the Subdomain field, delete the wildcard (*) and select Save application. You may need to change the Application name at this step to avoid an error.

At this step, your * domain has been secured behind Access. To resecure your preview deployments:

  1. Go back to your Pages project > Settings > General > and reselect Enable access policy.
  2. Review that two Access policies, one for your * domain and one for your preview deployments (*.<YOUR_SITE>, have been created.

If you have a custom domain and protected your * domain behind Access, you must:

  1. Select Add an application > Self hosted in Cloudflare Zero Trust.
  2. Input an Application name and select your custom domain from the Domain dropdown menu.
  3. Select Next and configure your access rules to define who can reach the Access authentication page.
  4. Select Add application.

If you have an issue that you do not see listed, let the team know in the Cloudflare Workers Discord. Get your invite at, and share your bug report in the #pages-general channel.

​​ Delete a project with a high number of deployments

You may not be able to delete your Pages project if it has a high number (over 800) of deployments. The Cloudflare team is tracking this issue.

As a workaround, review the following steps to delete all deployments in your Pages project. After you delete your deployments, you will be able to delete your Pages project.

  1. Download the file by going to the following link:
  2. Extract the file.
  3. Open your terminal and cd into the delete-all-deployments directory.
  4. In the delete-all-deployments directory, run npm install to install dependencies.
  5. Review the following commands to decide which deletion you would like to proceed with:
  • To delete all deployments except for the live production deployment (excluding aliased deployments):
  • To delete all deployments except for the live production deployment (including aliased deployments, for example,

To find your Cloudflare API token, log in to the Cloudflare dashboard, select the user icon on the upper righthand side of your screen > go to My Profile > API Tokens.

To find your Account ID, refer to Find your zone and account ID.

​​ Use Pages as Origin in Cloudflare Load Balancer

Cloudflare Load Balancing will not work without the host header set. To create a new Pool with a Pages project as target do the following:

  1. Follow the instructions Create a Pool and set the origin server address to your domain.
  2. Select Add host header.
  3. Set the host header value to your domain, same as the origin server address.
  4. Select Save.