> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exit code 3

> The project file, or a file it points to, is missing or not valid.

Name in the code: `invalidProject`.

## When you see it

There is no project file here or above, or it is not valid, or a file it points to (a task, a case, the MCP configuration) is missing or not valid. The message lists the lines.

## What to do

Run `proving init` in the agent's repository if there is no project file. Otherwise correct the lines the message lists; `proving doctor` and `proving tasks validate` check the files. The formats are in [File formats](https://docs.hex65.com/reference/formats.md).

See every code on [Exit codes](https://docs.hex65.com/reference/exit-codes.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.