#Creating a new project results in 404 - project not found
1 messages · Page 1 of 1 (latest)
It looks like you're encountering a 404 "Project not found" error when trying to initialize a new Trigger.dev project. This typically happens when the project reference ID you're using is incorrect or not properly associated with your account.
Here are some steps to troubleshoot this issue:
-
Verify your project reference ID: Make sure you're using the correct project reference ID from your Trigger.dev dashboard. The project ID should start with
proj_followed by a unique identifier. -
Check your login status: Ensure you're logged in to the correct account that owns the project. You can verify this by running:
npx trigger.dev@latest whoami -
Try logging in again: If you're not logged in or using the wrong profile, log in again:
npx trigger.dev@latest login -
Initialize without specifying the project: You can run the init command without the
-pflag, and the CLI will prompt you to select a project:npx trigger.dev@latest init
The CLI init command should guide you through the process of setting up your project, creating a trigger.config.ts file, and setting up your /trigger directory with an example task as described in the Quick Start guide.