Cloudflare pages deploy API token auth Error (10000) help

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

thap.site

What is the issue or error you’re encountering

authentication error

Screenshot of the error

here’s an additional data because it doesn’t let me “mention more than 2 users”.

I found the similar issue from the

community

but it does not resolve my problem.

My project is develop using astro framework with this config

// @ts-check
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';

import cloudflare from '@astrojs/cloudflare';

import tailwindcss from '@tailwindcss/vite';

export default defineConfig({
  site: 'https://thap.site',
  integrations: [mdx(), sitemap()],

  adapter: cloudflare({
    imageService: "compile",
    platformProxy: {
      enabled: true
    }
  }),

  vite: {
    plugins: [tailwindcss()],
    resolve: {
      alias: import.meta.env.PROD ? {
        
      } : {}
    }
  },
})

This is also my first time deploying website on cf pages. so I just knew that it’s cheaper than github page and that’s it.

I think you should remove the alias because that config is suppose to be for react library. Can you also share your wrangler config?

sure!, here’s my wrangler config if you wonder. I think it’s from a astro wrangler starter template.

{
"$schema": "node_modules/wrangler/config-schema.json",
	"name": "blog-perso-astro",
	"compatibility_date": "2025-03-12",
	"compatibility_flags": [
		"nodejs_compat"
	],
	"pages_build_output_dir": "./dist",
	"observability": {
		"enabled": true
	}
}