cloudflare / cloudflare/workers-sdk

Project not found. The specified project name does not match any of your existing projects. [code: 8000007]

Open
#15,313 2 comments 0 reactions 0 assignees View on GitHub
awaiting-response:reporter product:pages
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
2d 21h
Merged PRs (30d)
183

Description

### What versions & operating system are you using?

+ wrangler@3.114.17 (v4.125.0 available)

### Please provide a link to a minimal reproduction

https://github.com/Sawamurara/horizon-line/tree/main

### Describe the Bug

Project always not found.

### Please provide any relevant error logs

2026-08-22T07:17:21.467Z Initializing build environment...
2026-08-22T07:17:23.678Z Success: Finished initializing build environment
2026-08-22T07:17:24.174Z Cloning repository...
2026-08-22T07:17:26.151Z No build output detected to cache. Skipping.
2026-08-22T07:17:26.151Z No dependencies detected to cache. Skipping.
2026-08-22T07:17:26.155Z Detected the following tools from environment: bun@1.2.15, nodejs@24.18.0
2026-08-22T07:17:26.157Z Installing project dependencies: bun install
2026-08-22T07:17:26.439Z bun install v1.2.15 (df017990)
2026-08-22T07:17:26.450Z Resolving dependencies
2026-08-22T07:17:28.966Z Resolved, downloaded and extracted [334]
2026-08-22T07:17:30.348Z Saved lockfile
2026-08-22T07:17:30.350Z
2026-08-22T07:17:30.350Z + wrangler@3.114.17 (v4.125.0 available)
2026-08-22T07:17:30.350Z
2026-08-22T07:17:30.350Z 61 packages installed [3.94s]
2026-08-22T07:17:30.504Z Executing user build command: npm run build
2026-08-22T07:17:30.885Z
2026-08-22T07:17:30.886Z > ninja-zenshin-tracker@1.0.0 build
2026-08-22T07:17:30.886Z > echo 'No build step needed for simple html/js'
2026-08-22T07:17:30.886Z
2026-08-22T07:17:30.890Z No build step needed for simple html/js
2026-08-22T07:17:30.903Z Success: Build command completed
2026-08-22T07:17:31.051Z Executing user deploy command: npx wrangler pages deploy .
2026-08-22T07:17:32.593Z ▲ [WARNING] Warning: Your working directory is a git repo and has uncommitted changes
2026-08-22T07:17:32.594Z
2026-08-22T07:17:32.594Z To silence this warning, pass in --commit-dirty=true
2026-08-22T07:17:32.595Z
2026-08-22T07:17:32.595Z
2026-08-22T07:17:32.703Z
2026-08-22T07:17:32.705Z ✘ [ERROR] A request to the Cloudflare API (/accounts/5a567fdcd50745c7ff82ca6fcdb2490a/pages/projects/horizon-line) failed.
2026-08-22T07:17:32.705Z
2026-08-22T07:17:32.706Z Project not found. The specified project name does not match any of your existing projects. [code: 8000007]
2026-08-22T07:17:32.706Z
2026-08-22T07:17:32.706Z If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
2026-08-22T07:17:32.706Z
2026-08-22T07:17:32.706Z
2026-08-22T07:17:32.713Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2026-08-22_07-17-32_200.log"
2026-08-22T07:17:32.775Z Failed: error occurred while running deploy command
2026-08-22T07:17:21.467Z Initializing build environment...
2026-08-22T07:17:23.678Z Success: Finished initializing build environment
2026-08-22T07:17:24.174Z Cloning repository...
2026-08-22T07:17:26.151Z No build output detected to cache. Skipping.
2026-08-22T07:17:26.151Z No dependencies detected to cache. Skipping.
2026-08-22T07:17:26.155Z Detected the following tools from environment: bun@1.2.15, nodejs@24.18.0
2026-08-22T07:17:26.157Z Installing project dependencies: bun install
2026-08-22T07:17:26.439Z bun install v1.2.15 (df017990)
2026-08-22T07:17:26.450Z Resolving dependencies
2026-08-22T07:17:28.966Z Resolved, downloaded and extracted [334]
2026-08-22T07:17:30.348Z Saved lockfile
2026-08-22T07:17:30.350Z
2026-08-22T07:17:30.350Z + wrangler@3.114.17 (v4.125.0 available)
2026-08-22T07:17:30.350Z
2026-08-22T07:17:30.350Z 61 packages installed [3.94s]
2026-08-22T07:17:30.504Z Executing user build command: npm run build
2026-08-22T07:17:30.885Z
2026-08-22T07:17:30.886Z > ninja-zenshin-tracker@1.0.0 build
2026-08-22T07:17:30.886Z > echo 'No build step needed for simple html/js'
2026-08-22T07:17:30.886Z
2026-08-22T07:17:30.890Z No build step needed for simple html/js
2026-08-22T07:17:30.903Z Success: Build command completed
2026-08-22T07:17:31.051Z Executing user deploy command: npx wrangler pages deploy .
2026-08-22T07:17:32.593Z ▲ [WARNING] Warning: Your working directory is a git repo and has uncommitted changes
2026-08-22T07:17:32.594Z
2026-08-22T07:17:32.594Z To silence this warning, pass in --commit-dirty=true
2026-08-22T07:17:32.595Z
2026-08-22T07:17:32.595Z
2026-08-22T07:17:32.703Z
2026-08-22T07:17:32.705Z ✘ [ERROR] A request to the Cloudflare API (/accounts/5a567fdcd50745c7ff82ca6fcdb2490a/pages/projects/horizon-line) failed.
2026-08-22T07:17:32.705Z
2026-08-22T07:17:32.706Z Project not found. The specified project name does not match any of your existing projects. [code: 8000007]
2026-08-22T07:17:32.706Z
2026-08-22T07:17:32.706Z If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
2026-08-22T07:17:32.706Z
2026-08-22T07:17:32.706Z
2026-08-22T07:17:32.713Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2026-08-22_07-17-32_200.log"
2026-08-22T07:17:32.775Z Failed: error occurred while running deploy command
2026-08-22T07:18:51.369Z Resolved, downloaded and extracted [334]
2026-08-22T07:18:52.404Z Saved lockfile
2026-08-22T07:18:52.404Z
2026-08-22T07:18:52.405Z + wrangler@3.114.17 (v4.125.0 available)
2026-08-22T07:18:52.405Z
2026-08-22T07:18:52.405Z 61 packages installed [3.31s]
2026-08-22T07:18:52.611Z Executing user build command: npm run build
2026-08-22T07:18:53.346Z
2026-08-22T07:18:53.346Z > ninja-zenshin-tracker@1.0.0 build
2026-08-22T07:18:53.346Z > echo 'No build step needed for simple html/js'
2026-08-22T07:18:53.346Z
2026-08-22T07:18:53.352Z No build step needed for simple html/js
2026-08-22T07:18:53.366Z Success: Build command completed
2026-08-22T07:18:53.561Z Executing user deploy command: npx wrangler pages deploy . --project-name=horizon-line --branch=main
2026-08-22T07:18:55.040Z ▲ [WARNING] Warning: Your working directory is a git repo and has uncommitted changes
2026-08-22T07:18:55.041Z
2026-08-22T07:18:55.042Z To silence this warning, pass in --commit-dirty=true
2026-08-22T07:18:55.043Z
2026-08-22T07:18:55.043Z
2026-08-22T07:18:55.146Z
2026-08-22T07:18:55.147Z ✘ [ERROR] A request to the Cloudflare API (/accounts/5a567fdcd50745c7ff82ca6fcdb2490a/pages/projects/horizon-line) failed.
2026-08-22T07:18:55.148Z
2026-08-22T07:18:55.148Z Project not found. The specified project name does not match any of your existing projects. [code: 8000007]
2026-08-22T07:18:55.148Z
2026-08-22T07:18:55.148Z If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
2026-08-22T07:18:55.148Z
2026-08-22T07:18:55.148Z
2026-08-22T07:18:55.155Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2026-08-22_07-18-54_648.log"
2026-08-22T07:18:55.234Z Failed: error occurred while running deploy command

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `npx wrangler pages deploy . --project-name=horizon-line --branch=main` using the minimal reproduction and compare it with the command without explicit options. Trace the Pages deploy request shown in the logs and determine the expected behavior when the project is missing; done means the behavior is confirmed and covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.