#Creating a new project results in 404 - project not found

1 messages · Page 1 of 1 (latest)

verbal ledgeBOT
#

Hi @dark shale. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

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:

  1. 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.

  2. 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
    
  3. Try logging in again: If you're not logged in or using the wrong profile, log in again:

    npx trigger.dev@latest login
    
  4. Initialize without specifying the project: You can run the init command without the -p flag, 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.

If you continue to experience issues, make sure you've completed all the prerequisite steps, including creating an account and setting up a project in the Trigger.dev dashboard before running the init command.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: